/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Override Bootstrap and layout conflicts */
body.gray-bg {
    background: linear-gradient(to bottom right, #f8fafc, rgba(239, 246, 255, 0.3), #f1f5f9) !important;
    background-attachment: initial !important;
    background-size: initial !important;
    background-position: initial !important;
    background-repeat: initial !important;
}

/* Hide layout header for landing page */
body.gray-bg > header:first-of-type,
body.gray-bg > header nav.navbar {
    display: none !important;
}

/* Show footer for landing page */
body.gray-bg > footer.bg-light {
    display: block !important;
}

/* Ensure our custom header is visible */
.relative > header {
    display: block !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(to bottom right, #f8fafc, rgba(239, 246, 255, 0.3), #f1f5f9);
    color: #1e293b;
    line-height: 1.5;
    margin: 0 !important;
    padding: 0 !important;
}

body.gray-bg {
    padding: 0 !important;
    margin: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Container - Override Bootstrap and landing-page-layout.css */
.relative .container,
body.gray-bg .relative .container,
body.gray-bg section .container,
body.gray-bg main .container,
body.gray-bg header .container,
body.gray-bg footer .container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 640px) {
    .relative .container,
    body.gray-bg .relative .container,
    body.gray-bg section .container,
    body.gray-bg main .container,
    body.gray-bg header .container,
    body.gray-bg footer .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .relative .container,
    body.gray-bg .relative .container,
    body.gray-bg section .container,
    body.gray-bg main .container,
    body.gray-bg header .container,
    body.gray-bg footer .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Background Elements */
.bg-grid {
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
}

.bg-gradient-orb-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: linear-gradient(to bottom right, rgba(96, 165, 250, 0.1), rgba(34, 211, 238, 0.05));
    border-radius: 50%;
    filter: blur(80px);
    transform: translateY(-50%) translateX(33.33%);
    pointer-events: none;
}

.bg-gradient-orb-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: linear-gradient(to top right, rgba(59, 130, 246, 0.1), rgba(129, 140, 248, 0.05));
    border-radius: 50%;
    filter: blur(80px);
    transform: translateY(50%) translateX(-33.33%);
    pointer-events: none;
}

/* Floating Shapes Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.float-shape.delay-2 {
    animation-delay: 2s;
}

.float-shape.delay-4 {
    animation-delay: 4s;
}

.float-shape-1 {
    top: 5rem;
    left: 10%;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(to bottom right, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.1));
    border-radius: 1rem;
    transform: rotate(12deg);
}

.float-shape-2 {
    bottom: 8rem;
    right: 15%;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, rgba(34, 211, 238, 0.2), rgba(96, 165, 250, 0.1));
    border-radius: 50%;
}

.float-shape-3 {
    top: 33.33%;
    right: 5%;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, rgba(129, 140, 248, 0.15), rgba(96, 165, 250, 0.1));
    border-radius: 0.5rem;
    transform: rotate(45deg);
}

/* Header */
.relative > header,
body.gray-bg .relative > header {
    position: relative;
    z-index: 10;
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    margin: 0;
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.5rem;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.2s;
}

.logo-container:hover {
    opacity: 0.8;
    text-decoration: none;
}

.logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.logo-text h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #1e293b;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.6875rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Navigation */
nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    nav {
        display: flex;
    }
}

.nav-button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    color: #475569;
    text-decoration: none;
    display: inline-block;
}

.nav-button:hover {
    color: #0f172a;
    background: #f1f5f9;
    text-decoration: none;
}

.nav-button.active {
    color: #1c557c;
    background: #e0f2f8;
    text-decoration: none;
}

/* Announcement Banner */
.announcement-banner {
    position: relative;
    z-index: 10;
    margin-top: 0.75rem;
    margin-bottom: 1.75rem;
    width: 100%;
}

.announcement-banner .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 640px) {
    .announcement-banner .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .announcement-banner .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

.announcement-card {
    background: linear-gradient(to right, #1c84c6, #1c557c);
    border-radius: 1rem;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(28, 132, 198, 0.3);
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.announcement-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(59, 130, 246, 0.25);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announcement-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
    stroke-width: 2.5;
}

.announcement-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.announcement-text h3 {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.3;
}

.announcement-text p {
    color: rgba(191, 219, 254, 1);
    font-size: 0.75rem;
    margin: 0.125rem 0 0 0;
    line-height: 1.4;
}

.btn-secondary {
    padding: 0.5rem 1rem;
    min-height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Content */
main {
    position: relative;
    z-index: 10;
    padding-top: 1rem;
    padding-bottom: 4rem;
    margin: 0;
    width: 100%;
}

main .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 640px) {
    main .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    main .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

.main-grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    .main-grid {
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: flex-start;
        grid-auto-flow: row;
    }
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .hero-content {
        gap: 2rem;
        padding-right: 2.5rem;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-text {
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-text {
        gap: 1.5rem;
    }
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
        line-height: 1.15;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #1c84c6 0%, #1c557c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    margin-top: 0;
}

.hero-subtitle {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 0.75rem;
    letter-spacing: normal;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
        margin-top: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.375rem;
        margin-top: 1rem;
    }
}

.hero-description {
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.0625rem;
        line-height: 1.65;
        margin-top: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

.hero-detail {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .hero-detail {
        font-size: 1rem;
        line-height: 1.65;
        margin-top: 0.75rem;
    }
}

/* Feature Pills */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .feature-pills {
        margin-top: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .feature-pills {
        margin-top: 1.5rem;
    }
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.feature-pill svg {
    width: 1rem;
    height: 1rem;
    color: #1c84c6;
}

.feature-pill span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

/* Quick Links */
.quick-links {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .quick-links {
        margin-top: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .quick-links {
        margin-top: 1.5rem;
    }
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s;
    text-align: left;
    padding: 0;
    font-size: 1rem;
    text-decoration: none;
}

.quick-link:hover {
    color: #1c84c6;
}

.quick-link-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #f1f5f9;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.quick-link:hover .quick-link-icon {
    background: #e0f2f8;
}

.quick-link-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.quick-link span {
    font-weight: 500;
    flex: 1;
}

.quick-link-arrow {
    width: 1rem;
    height: 1rem;
    opacity: 0;
    transform: translateX(-0.5rem);
    transition: all 0.2s;
}

.quick-link:hover .quick-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Login Card */
.login-wrapper {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .login-wrapper {
        padding-left: 0;
        align-items: flex-start;
    }
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .login-card {
        padding: 2rem;
    }
}

@media (min-width: 640px) {
    .login-card {
        max-width: 28rem;
    }
}

@media (min-width: 1024px) {
    .login-card {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
}

.login-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .login-card-content {
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .login-card-content {
        gap: 1.5rem;
    }
}

.login-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.sso-info-box {
    background: #e0f2f8;
    border: 1px solid #9fd8ef;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    margin: 0;
}

.sso-icon {
    width: 2rem;
    height: 2rem;
    background: #1c84c6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.sso-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.sso-text {
    font-size: 1.25rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

.sso-text strong {
    display: block;
    margin-bottom: 0.25rem;
}


.login-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .login-actions {
        gap: 1rem;
    }
}

.btn-primary {
    width: 100%;
    height: 3rem;
    background: linear-gradient(to right, #1c84c6, #1c557c);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(28, 132, 198, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1c557c, #1a4a6b);
    box-shadow: 0 6px 8px -1px rgba(28, 85, 124, 0.4);
    transform: translateY(-0.125rem);
}

.btn-link {
    width: 100%;
    text-align: center;
    color: #1c84c6;
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-link:hover {
    color: #1c557c;
}

.divider {
    border-top: 1px solid #e2e8f0;
    margin: 1rem 0;
    border-bottom: none;
}

.register-link {
    text-align: center;
}

.register-link p {
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

.register-link button {
    color: #1c84c6;
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.register-link button:hover {
    color: #1c557c;
}

/* Help Card */
.help-card {
    margin-top: 1.25rem;
    width: 100%;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .help-card {
        max-width: 28rem;
    }
}

@media (min-width: 1024px) {
    .help-card {
        margin-top: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}

.help-card-inner {
    background: linear-gradient(to right, #f8fafc, rgba(241, 245, 249, 0.8));
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.help-icon {
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #1c84c6;
}

.help-content {
    flex: 1;
    min-width: 0;
}

.help-content h4 {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.3;
}

.help-content p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0.125rem 0 0 0;
    line-height: 1.4;
}

.btn-ghost {
    color: #1c84c6;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-ghost:hover {
    color: #1c557c;
    background: #e0f2f8;
}

.btn-ghost svg {
    width: 1rem;
    height: 1rem;
}

/* PDDikti Section */
.pddikti-section {
    position: relative;
    z-index: 10;
    background: white;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    width: 100%;
    margin: 0;
}

.pddikti-section .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 640px) {
    .pddikti-section .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .pddikti-section .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

.pddikti-content {
    padding: 2.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .pddikti-content {
        flex-direction: row;
        gap: 2rem;
        padding: 2.5rem 0;
    }
}

.pddikti-label {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 500;
    font-style: italic;
}

.pddikti-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pddikti-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pddikti-logo-icon {
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pddikti-logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pddikti-logo-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.pddikti-logo-text p:first-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
}

.pddikti-logo-text p:last-child {
    font-size: 0.75rem;
    color: #64748b;
}

.pddikti-separator {
    height: 3rem;
    width: 1px;
    background: #cbd5e1;
    margin: 0 0.5rem;
    display: none;
}

@media (min-width: 640px) {
    .pddikti-separator {
        display: block;
    }
}

.pddikti-tagline {
    display: none;
}

@media (min-width: 640px) {
    .pddikti-tagline {
        display: block;
    }
}

.pddikti-tagline p {
    font-size: 0.875rem;
    color: #d97706;
    font-weight: 600;
}

/* Footer - Only for Login Page */
.relative > footer.login-page-footer,
body.gray-bg > footer.login-page-footer,
footer.footer-main.login-page-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: #f8fafc;
    width: 100%;
    margin: 0;
    margin-top: 3rem;
    padding: 0;
}

footer.footer-main.login-page-footer {
    background: #f8fafc !important;
}

/* Hide layout footer on login page */
body.gray-bg > footer.bg-light:not(.login-page-footer) {
    display: none !important;
}

footer.footer-main.login-page-footer .footer-container {
    padding: 3rem 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    footer.footer-main.login-page-footer .footer-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    footer.footer-main.login-page-footer .footer-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Footer Content Wrapper - Login Page Only */
footer.login-page-footer .footer-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    footer.login-page-footer .footer-content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    footer.login-page-footer .footer-content-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

/* Footer Section - Login Page Only */
footer.login-page-footer .footer-section {
    display: flex;
    flex-direction: column;
}

footer.login-page-footer .footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

footer.login-page-footer .footer-description {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* Footer Contact List - Login Page Only */
footer.login-page-footer .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

footer.login-page-footer .footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

footer.login-page-footer .footer-contact-list li i {
    color: #1c84c6;
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

footer.login-page-footer .footer-contact-list li span {
    flex: 1;
}

/* Footer Lapor Section - Login Page Only */
footer.login-page-footer .footer-lapor-content {
    margin-top: 0.5rem;
}

footer.login-page-footer .footer-lapor-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

footer.login-page-footer .footer-lapor-link:hover {
    opacity: 0.8;
}

footer.login-page-footer .footer-lapor-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

footer.login-page-footer .footer-lapor-text {
    font-size: 0.875rem;
    color: #1c84c6;
    font-weight: 500;
    line-height: 1.5;
}

/* Footer Logos - Login Page Only */
footer.login-page-footer .footer-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .footer-logos {
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-logos {
        gap: 3rem;
    }
}

footer.login-page-footer .footer-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.footer-logo-img {
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .footer-logo-img {
        max-height: 80px;
    }
}

/* Footer Copyright - Login Page Only */
footer.login-page-footer .footer-copyright {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 0;
    margin-top: 0;
}

footer.login-page-footer .footer-copyright .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    footer.login-page-footer .footer-copyright .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    footer.login-page-footer .footer-copyright .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

footer.login-page-footer .footer-copyright-text {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Register Modal Styles */
.register-modal {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.register-modal-content {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.register-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.register-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.register-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s;
    width: 2rem;
    height: 2rem;
}

.register-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.register-modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.register-modal-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.register-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.register-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.2s;
    background: #ffffff;
}

.register-radio-option:hover {
    border-color: #1c84c6;
    background: #f8fafc;
}

.register-radio-option input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: #1c84c6;
    flex-shrink: 0;
}

.register-radio-option input[type="radio"]:checked + .register-radio-label .register-radio-text {
    color: #1c84c6;
    font-weight: 600;
}

.register-radio-option input[type="radio"]:checked {
    accent-color: #1c84c6;
}

/* Checked state styling */
.register-radio-option input[type="radio"]:checked ~ .register-radio-label,
.register-radio-option:has(input[type="radio"]:checked) {
    border-color: #1c84c6;
    background: #e0f2f8;
}

/* Fallback for browsers that don't support :has() */
.register-radio-option.checked {
    border-color: #1c84c6;
    background: #e0f2f8;
}

.register-radio-label {
    display: flex;
    align-items: center;
    flex: 1;
}

.register-radio-text {
    font-size: 0.875rem;
    color: #475569;
    transition: all 0.2s;
}

.register-submit-btn {
    width: 100%;
    height: 3rem;
    background: linear-gradient(to right, #1c84c6, #1c557c);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(28, 132, 198, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.register-submit-btn:hover:not(:disabled) {
    background: linear-gradient(to right, #1c557c, #1a4a6b);
    box-shadow: 0 6px 8px -1px rgba(28, 85, 124, 0.4);
    transform: translateY(-0.125rem);
}

.register-submit-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.register-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.register-footer-link {
    background: transparent;
    border: none;
    color: #1c84c6;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.register-footer-link:hover {
    color: #1c557c;
    text-decoration: none;
}

/* Responsive adjustments for register modal */
@media (max-width: 640px) {
    .register-modal .si-modal__dialog--sm {
        max-width: calc(100vw - 2rem);
        margin: 1rem;
    }
    
    .register-modal-header {
        padding: 1.25rem;
    }
    
    .register-modal-body {
        padding: 1.25rem;
    }
    
    .register-modal-footer {
        padding: 0.875rem 1.25rem;
    }
}

.footer-content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-content p {
    font-size: 0.875rem;
    color: #64748b;
}

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

.footer-link {
    font-size: 0.875rem;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #334155;
}

/* Utility Classes */
.relative {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.min-h-screen {
    min-height: 100vh;
}

.overflow-hidden {
    overflow: hidden;
}

/* Override Bootstrap row/col conflicts */
.relative .row:not(.footer-content-wrapper):not(.footer-logos),
body.gray-bg .row:not(.footer-content-wrapper):not(.footer-logos) {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.relative [class*="col-"]:not(.footer-section):not(.footer-logo-item),
body.gray-bg [class*="col-"]:not(.footer-section):not(.footer-logo-item) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Override Bootstrap navbar if it appears */
body.gray-bg nav.navbar.navbar-expand-lg {
    display: none !important;
}

/* Override button styles from landing-page-layout.css */
.relative button:not(.btn-primary):not(.btn-secondary):not(.btn-link):not(.btn-ghost):not(.nav-button):not(.footer-link),
body.gray-bg button:not(.btn-primary):not(.btn-secondary):not(.btn-link):not(.btn-ghost):not(.nav-button):not(.footer-link) {
    width: auto !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.relative button.btn-primary,
body.gray-bg button.btn-primary,
.relative a.btn-primary,
body.gray-bg a.btn-primary {
    width: 100% !important;
    background: linear-gradient(to right, #1c84c6, #1c557c) !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    border: none !important;
}

.relative button.btn-secondary,
body.gray-bg button.btn-secondary {
    width: auto !important;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    border: none !important;
}

/* Override input styles from landing-page-layout.css */
.relative input[type="text"]:not(.form-input),
.relative input[type="password"]:not(.form-input),
body.gray-bg input[type="text"]:not(.form-input),
body.gray-bg input[type="password"]:not(.form-input) {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* Login Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    margin: 0;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #1c84c6;
    box-shadow: 0 0 0 3px rgba(28, 132, 198, 0.1);
    background: #ffffff;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    padding-right: 3rem !important;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 1;
}

.password-toggle:hover {
    color: #1c84c6;
}

.password-toggle:focus {
    outline: none;
    color: #1c84c6;
}

.password-toggle i {
    font-size: 1.125rem;
}

.invalid-feedback {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    color: #ef4444;
    line-height: 1.4;
}

.form-field.has-error .form-input {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-field.has-error .form-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-600 {
    animation-delay: 0.6s;
}

