﻿.login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid #e74c3c;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

    .login-header h1 {
        color: #2c3e50;
        font-size: 28px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .login-header .subtitle {
        color: #7f8c8d;
        font-size: 14px;
    }

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

    .login-logo h2 {
        color: #e74c3c;
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }

    .login-logo .tagline {
        color: #7f8c8d;
        font-size: 14px;
        font-style: italic;
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #34495e;
        font-size: 14px;
    }

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .form-control:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon .icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #7f8c8d;
        font-size: 16px;
    }

    .input-with-icon .form-control {
        padding-left: 45px;
    }

.btn-login {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    letter-spacing: 1px;
    margin-top: 10px;
}

    .btn-login:hover {
        background: linear-gradient(135deg, #c0392b, #a93226);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(231,76,60,0.3);
    }

    .btn-login:disabled {
        background: #95a5a6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

    .login-footer a {
        color: #3498db;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s;
    }

        .login-footer a:hover {
            color: #2980b9;
            text-decoration: underline;
        }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #34495e;
}

.forgot-password {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.checkbox {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
    cursor: pointer;
}

.validation-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.login-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.message-success {
    background-color: #d5f4e6;
    color: #27ae60;
    border: 1px solid #27ae60;
}

.message-error {
    background-color: #fde8e8;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.login-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

    .login-options a {
        color: #7f8c8d;
        font-size: 13px;
        text-decoration: none;
    }

        .login-options a:hover {
            color: #3498db;
        }

@media (max-width: 480px) {
    .login-card {
        padding: 25px;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .remember-forgot {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 16px;
}

    .password-toggle:hover {
        color: #3498db;
    }

.logged-in-panel {
    text-align: center;
    padding: 30px;
}

.welcome-user {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
}

    .welcome-user i {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .welcome-user h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .welcome-user p {
        font-size: 16px;
        opacity: 0.9;
    }

.btn-dashboard {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

    .btn-dashboard:hover {
        transform: translateY(-2px);
    }

.btn-logout {
    width: 100%;
    padding: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

    .btn-logout:hover {
        transform: translateY(-2px);
        background: #c82333;
    }
