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

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navbar */
.login-navbar {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.login-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
}

.login-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
}

.login-nav-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.login-nav-brand-text {
    letter-spacing: 0.02em;
}

.login-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.login-nav-link {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s ease;
}

.login-nav-link:hover {
    color: #0f172a;
}

.login-nav-link-active {
    color: #0f172a;
    font-weight: 600;
}

.login-container {
    display: flex;
    flex: 1;
    min-height: 0;
    width: 100%;
}

/* Right Panel - Login Form */
.login-form-panel {
    flex: 1;
    background: #FEFEFE;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.login-content {
    width: 100%;
    max-width: 450px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2.5rem;
}

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.welcome-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* Form Styles */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #FFF;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input.is-invalid {
    border-color: #FC3B56;
}

.error-message {
    display: block;
    color: #FC3B56;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000;
}

.forgot-password-link {
    font-size: 0.875rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #666;
    text-decoration: underline;
}

/* Buttons */
.btn-signin {
    width: 100%;
    padding: 0.875rem;
    background: #000;
    color: #FFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

/* Sign Up Link */
.signup-link {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

.signup-link-text {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.signup-link-text:hover {
    color: #666;
    text-decoration: underline;
}

/* Left Panel - Promotional Image */
.promotional-panel {
    flex: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-image: url('/images/static_image/ceoimage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promotional-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.promotional-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFF;
}

.promo-text-top {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 2px;
    align-self: flex-end;
    opacity: 0.9;
}

.promo-text-bottom {
    align-self: flex-start;
}

.promo-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.promo-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 500px;
}

.promotional-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .login-container {
        flex-direction: column;
        min-height: 100vh;
        height: auto;
    }

    .promotional-panel {
        min-height: 300px;
        max-height: 500px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        flex-shrink: 0;
    }

    .promotional-content {
        padding: 2rem;
        min-height: min-content;
    }

    .promo-text-top {
        font-size: 2rem;
    }

    .promo-name {
        font-size: 1.75rem;
    }

    .promo-description {
        font-size: 0.9rem;
    }

    .login-form-panel {
        flex: 1;
        flex-shrink: 0;
    }

    .welcome-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .login-nav-inner {
        padding: 0.75rem 1rem;
    }

    .login-nav-brand-text {
        font-size: 1rem;
    }

    .login-nav-links {
        gap: 1rem;
    }

    .login-nav-link {
        font-size: 0.875rem;
    }

    .login-content {
        padding: 0;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }
}

