/* Reset básico para evitar márgenes extraños */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Usamos la imagen que subiste como fondo */
    background: url('backgroud.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 360px;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.card-header {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid #dcdcdc;
}

.card-header h2 {
    color: #555;
    font-size: 1.3rem;
    font-weight: 400;
}

.login-form {
    padding: 25px 30px;
}

/* Contenedor de los inputs */
.inputs-container {
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    background: #f1f1f1;
}

.input-group:first-child {
    border-bottom: 1px solid #ccc;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: #444;
}

.input-group input::placeholder {
    color: #999;
}

/* Opciones de abajo */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-size: 14px;
}

/* Switch estilo iOS/Android */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1abc9c;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.forgot-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Botón Sign In */
.btn-signin {
    width: 100%;
    padding: 14px;
    background: #1abc9c;
    border: none;
    color: white;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.btn-signin:hover {
    background: #16a085;
}

/* Responsividad para móviles */
@media (max-width: 400px) {
    .login-card {
        margin: 15px;
    }
}