* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #212421 0%, #AB713E 100%);
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    background: transparent;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #212421 0%, #AB713E 50%, #7A7A7A 100%);
    overflow: hidden;
}

.city-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60%;
    background-image: url('../images/blackandwhitecitysilhouette.png');
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: auto 100%;
    opacity: 0.3;
    animation: slideRight 30s linear infinite;
    z-index: 1;
}

@keyframes slideRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.login-card {
    width: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.system-title {
    text-align: center;
    margin-bottom: 40px;
}

.system-title h1 {
    color: #212421;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.system-title p {
    color: #7A7A7A;
    font-size: 14px;
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #7A7A7A;
    font-size: 16px;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #C7C7C7;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: #AB713E;
    background: white;
    box-shadow: 0 0 0 3px rgba(171, 113, 62, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #7A7A7A;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #AB713E;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #7A7A7A;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #C7C7C7;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: #AB713E;
    border-color: #AB713E;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-password {
    color: #AB713E;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #212421;
    text-decoration: underline;
}

.login-btn {
    background: linear-gradient(135deg, #AB713E 0%, #212421 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(171, 113, 62, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.footer-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #C7C7C7;
}

.footer-info p {
    color: #7A7A7A;
    font-size: 12px;
    margin: 2px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
    }
    
    .login-card {
        width: 90%;
        max-width: 400px;
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .city-silhouette {
        height: 40%;
    }
    
    .system-title h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-card {
        width: 95%;
        padding: 25px 15px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .system-title h1 {
        font-size: 22px;
    }
    
    .input-group input {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }
    
    .login-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

