/* ==========================================================================
   OPREC V2 - LAB. AKUNTANSI MENENGAH (BLUE IDENTITY THEME)
   Identik & Selaras dengan Palet Warna Utama Labamen:
   --lab-primary-navy: #0f172a
   --lab-deep-blue:    #0b1530
   --lab-accent-blue:  #2563eb
   --lab-accent-hover: #1d4ed8
   --lab-accent-cyan:  #38bdf8
   ========================================================================== */

:root {
    --lab-primary-navy: #0f172a;
    --lab-deep-blue: #0b1530;
    --lab-accent-blue: #2563eb;
    --lab-accent-blue-hover: #1d4ed8;
    --lab-accent-cyan: #38bdf8;
    --lab-text-main: #0f172a;
    --lab-text-muted: #475569;
    --lab-border: #e2e8f0;
    --lab-bg-light: #ffffff;
    --lab-bg-soft: #f8fafc;
    --lab-badge-bg: #eff6ff;
    --lab-badge-border: #bfdbfe;
}

/* Base Body & Reset for Oprec Page */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--lab-bg-light);
    color: var(--lab-text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Navbar Login Pill Button (Biru Labamen) */
.btn-nav-login-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0.45rem 1.25rem !important;
    border-radius: 999px !important;
    background-color: var(--lab-accent-blue) !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: 2px solid transparent !important;
}

.btn-nav-login-pill:hover {
    background-color: var(--lab-accent-blue-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
}

/* Main Container (Full alignment with Header) */
main.page-oprec {
    flex: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 6.5rem 2rem 4rem;
    box-sizing: border-box;
}

/* Hero Section (2-Column Clean Hero) */
.oprec-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    min-height: 65vh;
    padding: 2.5rem 0 3.5rem;
}

.oprec-hero .hero-text {
    flex: 1.2;
}

.oprec-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--lab-badge-bg);
    color: var(--lab-accent-blue);
    border: 1px solid var(--lab-badge-border);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.oprec-hero .hero-badge i {
    color: var(--lab-accent-blue);
}

.oprec-hero .hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--lab-primary-navy);
    margin: 0 0 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Judul Biru Labamen (Bukan Ungu) */
.oprec-hero .hero-title span {
    font-size: 3.3rem;
    font-weight: 900;
    color: var(--lab-accent-blue) !important;
    display: block;
}

.oprec-hero .hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--lab-text-muted);
    margin: 0 0 2rem;
    max-width: 600px;
}

.oprec-hero .hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.oprec-hero .hero-actions .hero-sub-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Primary Button - Biru Murni Labamen (#2563eb) */
.btn-labamen {
    padding: 0.7rem 2.2rem;
    border: 3px solid transparent;
    border-radius: 999px;
    background-color: var(--lab-accent-blue) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-labamen:hover {
    background-color: var(--lab-accent-blue-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    color: #ffffff !important;
}

/* Secondary Button - Outline Dark Navy */
.btn-labamen-outline {
    padding: 0.7rem 2rem;
    border: 3px solid var(--lab-primary-navy);
    border-radius: 999px;
    background-color: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lab-primary-navy);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-labamen-outline:hover {
    background-color: var(--lab-primary-navy);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hero Image Column */
.oprec-hero .hero-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oprec-hero .hero-image img {
    max-width: 100%;
    width: 380px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(11, 21, 48, 0.08));
}

/* Oprec Closed Alert (Jika Sedang Tidak Aktif) */
.oprec-closed-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.4rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    color: #991b1b;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.25rem;
    max-width: 600px;
}

.oprec-closed-alert i {
    font-size: 1.25rem;
    color: #ef4444;
}

/* Section Title (Kriteria & Persyaratan) */
.oprec-section-title {
    text-align: center;
    margin: 4rem 0 2.5rem;
}

.oprec-section-title h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--lab-primary-navy);
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
}

.oprec-section-title p {
    font-size: 1.05rem;
    color: var(--lab-text-muted);
    margin: 0;
    max-width: 620px;
    margin-inline: auto;
}

/* Cards Grid (3 Columns) */
.oprec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
}

/* Single Card (Tema Biru Labamen Kaya & Modern) */
.oprec-card {
    background: linear-gradient(145deg, #1d4ed8 0%, #1e40af 100%);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.oprec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(29, 78, 216, 0.28);
}

/* Card Header with Yellow Badge */
.oprec-card-header {
    background-color: #ffffff;
    padding: 1.15rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 3px solid #f1f5f9;
}

.oprec-card-header .icon-box {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    color: var(--lab-accent-blue);
}

.card-asisten .icon-box {
    color: var(--lab-accent-blue);
    background-color: #eff6ff;
}

.card-programmer .icon-box {
    color: #0284c7;
    background-color: #e0f2fe;
}

.card-berkas .icon-box {
    color: #d97706;
    background-color: #fef3c7;
}

.oprec-card-header .badge-title {
    background-color: #ffc72c;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    box-shadow: 0 3px 8px rgba(255, 199, 44, 0.35);
}

/* Card Body (Daftar Persyaratan) */
.oprec-card-body {
    padding: 1.6rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.oprec-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oprec-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.oprec-card-list li:last-child {
    margin-bottom: 0;
}

.oprec-card-list li .bullet {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
}

.oprec-card-list li span.text {
    flex: 1;
}

/* Contact Person Section - Lebar Seragam & Tema Biru */
.oprec-contact-section {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0 4rem;
    box-sizing: border-box;
}

.contact-card {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--lab-border);
    border-top: 4px solid var(--lab-accent-blue);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow: 0 8px 24px rgba(11, 21, 48, 0.05);
    box-sizing: border-box;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--lab-border);
}

.contact-icon-box {
    width: 52px;
    height: 52px;
    background-color: var(--lab-badge-bg);
    color: var(--lab-accent-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-header-text h3 {
    font-size: 1.45rem;
    color: var(--lab-primary-navy);
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.contact-header-text p {
    font-size: 0.95rem;
    color: var(--lab-text-muted);
    margin: 0;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background-color: var(--lab-bg-soft);
    border-radius: 14px;
    border: 1px solid var(--lab-border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--lab-accent-blue);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
}

.contact-item .item-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: var(--lab-badge-bg);
    color: var(--lab-accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-item .item-icon.icon-wa {
    background-color: #dcfce7;
    color: #15803d;
}

.contact-item .item-icon.icon-email {
    background-color: #fee2e2;
    color: #b91c1c;
}

.contact-item .item-icon.icon-region {
    background-color: #fef3c7;
    color: #b45309;
}

.contact-item .item-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact-item .item-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item .item-value {
    font-size: 0.95rem;
    color: var(--lab-primary-navy);
    font-weight: 700;
    margin-top: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet, Mobile, & Small Screen)
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .oprec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .oprec-grid .card-berkas {
        grid-column: 1 / -1;
        max-width: 540px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    main.page-oprec {
        padding: 5.5rem 1.25rem 3rem;
    }

    .oprec-hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 2rem 0 1.5rem;
        gap: 2rem;
        min-height: auto;
    }

    .oprec-hero .hero-desc {
        margin: 0 auto 1.5rem;
    }

    .oprec-hero .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.85rem !important;
    }

    .oprec-hero .hero-actions .btn-labamen {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .oprec-hero .hero-actions .hero-sub-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.65rem !important;
        width: 100% !important;
        max-width: 320px !important;
    }

    .oprec-hero .hero-actions .hero-sub-actions .btn-labamen-outline {
        flex: 1 !important;
        padding: 0.65rem 0.65rem !important;
        font-size: 0.88rem !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .oprec-hero .hero-title {
        font-size: 2.15rem;
    }

    .oprec-hero .hero-title span {
        font-size: 2.6rem;
    }

    .oprec-hero .hero-image img {
        width: 240px;
    }

    .oprec-section-title h2 {
        font-size: 1.85rem;
    }

    .oprec-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .oprec-grid .card-berkas {
        grid-column: auto;
        max-width: none;
    }

    .oprec-card-header {
        padding: 0.95rem;
    }

    .oprec-card-header .badge-title {
        font-size: 1.15rem;
        padding: 0.5rem 0.75rem;
    }

    .oprec-card-header .icon-box {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .oprec-card-body {
        padding: 1.25rem 1.15rem;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .contact-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-card {
        padding: 1.5rem 1.15rem;
    }
}