:root {
    --primary-color: #26549E;
    --secondary-color: #FF5C0A;
    --bg-color: #f4f6f8;
    --text-color: #111827;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --button-hover-shadow: rgba(0, 0, 0, 0.1);
    --button-background: #26549E;
    --button-hover-background: #FF5C0A;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Soft liquid gradient background */
    background: radial-gradient(circle at top left, #dce6fd, #f4f6f8, #fef4ec);
    background-size: cover;
    background-attachment: fixed;
}

header, footer {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header {
    padding: 0.25rem 0;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-weight: 800;
    font-size: 1.35rem;    
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

.brand-subtitle {
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

/* Liquid Glass Card Design */
.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow), inset 0 0 0 1px rgba(255,255,255,0.6);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 0;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

.glass-card > * {
    position: relative;
    z-index: 1;
}

.auth-title {
    font-size: calc(1.7rem - 3px);
    font-weight: 800;
    color: #172b4d;
    margin-bottom: 0.5rem;
    text-align: left;
}

.auth-caption {
    font-size: 1.05rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-align: left;
}

.auth-divider {
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 1rem 0 0.8rem 0;
}

.auth-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #8c98a4;
    text-align: left;
    margin-bottom: 1rem;
}

/* SSO Buttons */
.sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    position: relative;
}

.sso-icon {
    font-size: 1.4rem;
    position: absolute;
    left: 20%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.fb-icon {
    background-color: #ffffff;
    color: #1877f2;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
}

.sso-text {
    text-align: center;
}

.btn-google {
    background: #ffffff;
    border: 2px solid #28a745;
    color: #333333;
}

.btn-google:hover {
    background: #f8fcf8;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.1);
}

.btn-facebook {
    background: #1877f2;
    border: 2px solid #1877f2;
    color: #ffffff;
}

.btn-facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    box-shadow: 0 4px 6px rgba(24, 119, 242, 0.2);
}

.create-account-link {
    color: #1877f2 !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
}

.create-account-link:hover {
    text-decoration: underline;
}

footer {
    padding: 0.35rem 0;
    font-size: 0.85rem;
}

.footer-copyright {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contact {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 8px;
}
