body {
    background-color: #f5f6fa;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.login-container .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #152046;
    margin-bottom: 1.5rem;
}

.btn-login {
    background-color: #152046;
    color: white;
    border: none;
    padding: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #1f2d5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 32, 70, 0.3);
}

.btn-register {
    background-color: transparent;
    color: #152046;
    border: 2px solid #152046;
    padding: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: #152046;
    color: white;
    transform: translateY(-2px);
}

.form-control {
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #152046;
    box-shadow: 0 0 0 0.2rem rgba(21, 32, 70, 0.25);
}

.form-label {
    font-weight: 500;
    color: #152046;
    margin-bottom: 0.5rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #888;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider:not(:empty)::before {
    margin-right: 0.75em;
}

.divider:not(:empty)::after {
    margin-left: 0.75em;
}

.btn-social {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-google {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #152046;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-facebook {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.btn-facebook:hover {
    background-color: #f8f9fa;
    border-color: #152046;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-apple {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.btn-apple:hover {
    background-color: #f8f9fa;
    border-color: #152046;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.small {
    color: #152046;
    text-decoration: none;
    transition: color 0.3s ease;
}

.small:hover {
    color: #1f2d5c;
    text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 576px) {
    body {
        padding: 0.5rem;
    }

    .login-container {
        padding: 1.5rem;
        border-radius: 12px;
        margin: 0;
    }

    .login-container .logo {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .form-control {
        padding: 0.65rem;
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .btn-login,
    .btn-register,
    .btn-social {
        padding: 0.65rem;
        font-size: 0.9rem;
    }

    .btn-social i {
        font-size: 1.1rem;
    }

    .divider {
        margin: 1.25rem 0;
        font-size: 0.85rem;
    }

    .small {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .login-container {
        padding: 1.25rem;
    }

    .login-container .logo {
        font-size: 1.35rem;
    }

    .btn-social {
        margin-bottom: 0.65rem;
    }
}

/* Tablet Styles */
@media (min-width: 577px) and (max-width: 768px) {
    .login-container {
        max-width: 450px;
    }
}

/* Toast positioning for mobile */
.toast-container {
    z-index: 1100;
    position: fixed;
    top: 1rem;
    right: 1rem;
    left: 1rem;
}

@media (min-width: 576px) {
    .toast-container {
        left: auto;
        min-width: 300px;
    }
}

/* Focus states for better accessibility */
.btn-login:focus,
.btn-register:focus,
.btn-social:focus {
    outline: 2px solid #152046;
    outline-offset: 2px;
}

/* Smooth animations */
* {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    -webkit-touch-callout: none;
    user-select: none;
}
