/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background: #f0f2f5;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1920x1080/?nature,water');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #777;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.8);
}

.input-with-icon input:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    outline: none;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    color: #555;
    cursor: pointer;
}

.remember-forgot input {
    margin-right: 8px;
}

.remember-forgot a {
    color: #4a6cf7;
    text-decoration: none;
    transition: color 0.3s;
}

.remember-forgot a:hover {
    color: #2541b2;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4a6cf7 0%, #2541b2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #3a5bd9 0%, #1a2f8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}

.register-link {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.register-link a:hover {
    color: #2541b2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .login-box {
        padding: 25px;
    }
    
    .logo i {
        font-size: 50px;
    }
    
    h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }
    
    .input-with-icon input {
        padding: 10px 12px 10px 40px;
        font-size: 15px;
    }
    
    .login-btn {
        padding: 10px;
        font-size: 15px;
    }
    
    .remember-forgot, .register-link {
        font-size: 13px;
    }
}
.background {
    background-image: url('/imagenes/nuevo\ logo\ de\ pepes.jpg');
}