*, ::before, ::after {
    box-sizing: border-box;
}

/* Global Variables */
:root {
    --primary-color: #0b355f;
    /* StaffTimer Deep Navy */
    --secondary-color: #00b074;
    /* StaffTimer Teal/Green */
    --accent-color: #1890ff;
    /* Light Blue Accent */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Navbar Styling */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.navbar-brand img {
    height: 42px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 120px;
    background: linear-gradient(135deg, #0b355f 0%, #061c33 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 176, 116, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #00b074);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Custom Buttons */
.btn-premium {
    background: var(--secondary-color);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 176, 116, 0.3);
}

.btn-premium:hover {
    background: #009662;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 176, 116, 0.4);
    color: white;
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-premium:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 176, 116, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: #051628;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 30px;
}

footer h5 {
    color: white;
    margin-bottom: 25px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Auth Wrapper & Forms Styling */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left Panel - Marketing Panel */
.marketing-panel {
    background: linear-gradient(135deg, var(--primary-color) 0%, #061c33 100%);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
    position: relative;
    min-height: 100vh;
}

.marketing-panel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 176, 116, 0.05) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.brand-logo {
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
}

.feature-item:nth-child(2) { animation-delay: 0.1s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.3s; }

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.feature-text p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Right Panel - Form Panel */
.form-panel {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f8f9fa;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-container h3 {
    font-weight: 800;
    color: var(--primary-color);
}

.form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    padding-left: 15px;
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: #bbb;
    font-weight: 300;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 176, 116, 0.1);
}

.input-group-text {
    background: transparent;
    border-right: none;
    color: #aaa;
    border-radius: 10px 0 0 10px;
}

.form-control {
    border-left: none;
}

.btn-auth {
    height: 55px;
    border-radius: 10px;
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
    width: 100%;
    border: none;
    margin-top: 10px;
    font-size: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 176, 116, 0.2);
}

.btn-auth:hover {
    background: #009662;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 176, 116, 0.3);
    color: white;
}

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    font-size: 13px;
    margin: 18px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e1e1e1;
}
.divider-text::before { margin-right: 10px; }
.divider-text::after  { margin-left: 10px; }

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    border-radius: 10px;
    background: #fff;
    color: #444;
    font-weight: 600;
    width: 100%;
    border: 1.5px solid #dadce0;
    font-size: 15px;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-google:hover {
    background: #f7f7f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    color: #222;
    border-color: #bbb;
}

.btn-google svg { flex-shrink: 0; }

@keyframes slideIn {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 992px) {
    .marketing-panel { display: none; }
    .form-panel { width: 100%; }
}

@media (min-width: 992px) {
    .auth-wrapper {
        height: 100vh;
        overflow: hidden;
    }
    .marketing-panel {
        height: 100vh;
        overflow: hidden;
    }
    .form-panel {
        height: 100vh;
        overflow-y: auto;
    }
}
