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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/salon-bg.jpg') center center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 64, 0.88), rgba(0, 31, 91, 0.92));
    z-index: 1;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(30, 60, 130, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 35px;
}

.logo-section .logo-img {
    width: 150px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 8px rgba(10, 25, 64, 0.2));
}

.logo-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0a1940;
    margin-bottom: 4px;
    letter-spacing: 2px;
}

.logo-section .subtitle {
    font-size: 13px;
    color: #5a6a8a;
    font-weight: 400;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0a1940;
    font-weight: 500;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #1e3a8a;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 18px 14px 50px;
    border: 2px solid #dce4f5;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f4f7ff;
    color: #0a1940;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #1e3a8a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form-control::placeholder {
    color: #9aaacb;
}

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

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6a8a;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1e3a8a;
}

.forgot-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #0a1940;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0a1940 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
    background: linear-gradient(135deg, #2d4faa 0%, #1e3a8a 100%);
}

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

.btn-register {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 2px solid #1e3a8a;
    border-radius: 10px;
    color: #1e3a8a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 10px;
}

.btn-register:hover {
    transform: translateY(-2px);
    background: #f0f4ff;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
    color: #0a1940;
    border-color: #0a1940;
}

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

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #eef2ff;
    border-left: 4px solid #1e3a8a;
    color: #0a1940;
}

.divider {
    text-align: center;
    margin: 28px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dce4f5;
}

.divider span {
    background: rgba(255, 255, 255, 0.98);
    padding: 0 15px;
    color: #9aaacb;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.footer-text {
    text-align: center;
    margin-top: 25px;
    color: #9aaacb;
    font-size: 13px;
}

.footer-text a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

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

.oauth-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-oauth {
    width: 100%;
    padding: 12px 24px;
    border: 1px solid #dce4f5;
    border-radius: 8px;
    color: #0a1940;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.25px;
    box-shadow: 0 1px 3px rgba(30, 58, 138, 0.08);
}

.btn-oauth:hover {
    background: #f4f7ff;
    border-color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
}

.btn-oauth:active {
    background: #eef2ff;
}

.btn-oauth i {
    font-size: 18px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-oauth-google i {
    background: linear-gradient(135deg, #4285f4 0%, #4285f4 25%, #ea4335 25%, #ea4335 50%, #fbbc04 50%, #fbbc04 75%, #34a853 75%, #34a853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

@media (max-width: 480px) {
    .login-card {
        padding: 40px 25px;
    }

    .logo-section h1 {
        font-size: 24px;
    }

    .btn-oauth {
        font-size: 14px;
        padding: 12px;
    }
}
