:root {
    --primary-color: #2272b1;
    --secondary-color: #4caf50;
    --accent-color: #ffa726;
    --danger-color: #f44336;
    --bg-color: #f5f5f5;
    --card-bg: #ffffff;
    --text-color: #212121;
    --light-text: #757575;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0; /* Removed padding-bottom */
}

/* Header Styles */
header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo i {
    margin-right: 8px;
    font-size: 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 16px;
}

.header-actions .btn-register {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.header-actions .btn-register:hover {
    background-color: #1a5f9c;
}

/* Main Content */
.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.welcome-section {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.welcome-section h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.welcome-section p {
    color: var(--light-text);
    font-size: 0.95rem;
}

.login-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-field {
    position: relative;
}

.input-field input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.input-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 2px rgba(34, 114, 177, 0.1);
}

.input-field .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    cursor: pointer;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.remember-me label {
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.login-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 16px;
}

.login-button:hover {
    background-color: #1a5f9c;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--light-text);
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.divider span {
    padding: 0 16px;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #555;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.google-btn {
    color: #db4437;
}

.facebook-btn {
    color: #4267b2;
}

.twitter-btn {
    color: #1da1f2;
}

.register-prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
}

.register-prompt a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.register-prompt a:hover {
    text-decoration: underline;
}

/* Mobile Footer Styles - REMOVED */

/* Footer Styles */
footer {
    background-color: white;
    padding: 16px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 8px;
    font-size: 0.85rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.75rem;
    color: var(--light-text);
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
}

@media (max-width: 480px) {
    .header-actions {
        margin-left: auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-section,
.login-card {
    animation: fadeIn 0.5s ease forwards;
}

.login-card {
    animation-delay: 0.2s;
}

.text-danger {
    color: #dc3545 !important;
}
