/* ═══════════════════════════════════════════════════════════
   IJS Website - Sub-page & Section Styles
   Sub-visual, board, contact, company, recruit, search, legal, apply
   ═══════════════════════════════════════════════════════════ */

/* ── Sub Visual (Sub Page Header) ── */
.sv {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.sv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 29, 46, 0.6) 0%,
        rgba(26, 29, 46, 0.4) 100%
    );
    z-index: 1;
}

.sv-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sv-subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-3);
}

.sv-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: white;
}

/* ── Section Tabs (sub-page navigation) ── */
.section-tabs {
    position: sticky;
    top: var(--header-height-scrolled);
    z-index: var(--z-sticky);
    background: white;
    border-bottom: 1px solid var(--ijs-border);
}

.section-tabs-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.section-tabs-inner::-webkit-scrollbar {
    display: none;
}

.section-tab {
    flex: 0 0 auto;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--ijs-text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.section-tab:hover {
    color: var(--ijs-text);
}

.section-tab.active {
    color: var(--ijs-primary);
    border-bottom-color: var(--ijs-primary);
    font-weight: var(--weight-semibold);
}

/* ── Timeline (History) — Center-Aligned ── */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--ijs-border);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding-bottom: var(--space-8);
    box-sizing: border-box;
}

.timeline-left {
    padding-right: var(--space-10);
    text-align: right;
    margin-left: 0;
}

.timeline-right {
    padding-left: var(--space-10);
    text-align: left;
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 8px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid var(--ijs-primary);
    border-radius: var(--radius-full);
    z-index: 1;
}

.timeline-left .timeline-dot {
    right: -8px;
}

.timeline-right .timeline-dot {
    left: -8px;
}

.timeline-highlight .timeline-dot {
    background: var(--ijs-primary);
    width: 20px;
    height: 20px;
}

.timeline-left .timeline-highlight .timeline-dot {
    right: -10px;
}

.timeline-right .timeline-highlight .timeline-dot {
    left: -10px;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-primary);
    margin-bottom: var(--space-3);
}

.timeline-content {
    font-size: var(--text-base);
    color: var(--ijs-text);
    line-height: var(--leading-relaxed);
}

/* ── Organization Chart ── */
.orgchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-10) 0;
}

.orgchart-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: var(--weight-semibold);
    text-align: center;
    min-width: 160px;
    transition: transform var(--transition-fast);
}

.orgchart-node:hover {
    transform: scale(1.05);
}

.orgchart-node-title {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
}

.orgchart-node-subtitle {
    font-size: var(--text-xs);
    opacity: 0.8;
    margin-top: var(--space-1);
}

.orgchart-level {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    justify-content: center;
}

.orgchart-connector {
    width: 2px;
    height: 30px;
    background: var(--ijs-border);
    margin: 0 auto;
}

/* ── Patent Gallery ── */
.patent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
}

.patent-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
}

.patent-item:hover {
    box-shadow: var(--shadow-md);
}

.patent-item-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.patent-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patent-item-info {
    padding: var(--space-4);
}

.patent-item-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

/* ── Board List (Notice, PR, Recruit) ── */
.board-list {
    border-top: 2px solid var(--ijs-dark);
}

.board-item {
    display: flex;
    align-items: center;
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--ijs-border-light);
    transition: background var(--transition-fast);
}

.board-item:hover {
    background: var(--ijs-bg-gray);
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
    border-radius: var(--radius-md);
}

.board-item-num {
    flex: 0 0 60px;
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
    text-align: center;
}

.board-item-title {
    flex: 1;
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--ijs-dark);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.board-item-title a {
    color: inherit;
}

.board-item-title a:hover {
    color: var(--ijs-primary);
}

.board-item-date {
    flex: 0 0 100px;
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
    text-align: center;
}

.board-item-views {
    flex: 0 0 80px;
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
    text-align: center;
}

/* ── Board Detail ── */
.board-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-10) 0;
}

.board-detail-header {
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--ijs-border);
    margin-bottom: var(--space-8);
}

.board-detail-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-4);
}

.board-detail-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
}

.board-detail-content {
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

.board-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.board-detail-attachments {
    margin-top: var(--space-8);
    padding: var(--space-4);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
}

.board-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--ijs-border);
}

/* ── Contact / Map ── */
.contact-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-10);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-lg);
}

.contact-info-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ijs-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: var(--text-xl);
}

/* ── Recruit Culture Page ── */
.culture-hero {
    text-align: center;
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--ijs-dark) 0%, var(--ijs-primary-dark) 100%);
    color: white;
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-12);
}

.culture-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.culture-value-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
}

.culture-value-card:hover {
    border-color: var(--ijs-primary);
    box-shadow: var(--shadow-lg);
}

/* ── Search Results ── */
.search-results-header {
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--ijs-border);
    margin-bottom: var(--space-6);
}

.search-result-item {
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--ijs-border-light);
}

.search-result-category {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--ijs-primary);
    text-transform: uppercase;
    margin-bottom: var(--space-1);
}

.search-result-title {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}

.search-result-title a {
    color: var(--ijs-dark);
}

.search-result-title a:hover {
    color: var(--ijs-primary);
}

.search-result-snippet {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* ── Error Page ── */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: var(--space-10);
    margin-top: var(--header-height);
}

.error-code {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: var(--weight-extrabold);
    color: var(--ijs-primary);
    line-height: 1;
}

.error-message {
    font-size: var(--text-xl);
    margin: var(--space-4) 0;
}

.error-desc {
    color: var(--ijs-text-muted);
    margin-bottom: var(--space-8);
}

/* ── Partnership Form ── */
.form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-10) 0;
}

.form-section-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--ijs-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

/* ── Dispatch Page ── */
.dispatch-frame {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════
   MISSING CSS CLASSES - Sub Visual, Board, Contact, Forms
   ═══════════════════════════════════════════════════════ */

/* ── Sub Visual (Banner for sub-pages) ── */
.sub-visual {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sub-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 29, 46, 0.6) 0%,
        rgba(26, 29, 46, 0.4) 100%
    );
    z-index: 1;
}

.sub-visual.no-overlay::after {
    display: none;
}

.sub-visual-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sub-visual-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: white;
    margin-bottom: var(--space-4);
}

.sub-visual-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.sub-visual-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sub-visual-breadcrumb a:hover {
    color: white;
}

.sub-visual-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Section Header ── */
.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-header .section-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-3);
}

.section-header .section-desc {
    font-size: var(--text-lg);
    color: var(--ijs-text-muted);
}

/* ── Board Toolbar (search + count) ── */
.board-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.board-count {
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
}

.board-count strong {
    color: var(--ijs-primary);
    font-weight: var(--weight-semibold);
}

.board-search {
    display: flex;
    gap: var(--space-2);
}

.board-search .form-control {
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--ijs-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    min-width: 200px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.board-search .form-control:focus {
    border-color: var(--ijs-primary);
}

/* ── Form Control (generic input) ── */
.form-control {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--ijs-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    width: 100%;
    outline: none;
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--ijs-primary);
    box-shadow: 0 0 0 3px rgba(207, 13, 92, 0.1);
}

/* ── Card Grid ── */
.card-grid {
    display: grid;
    gap: var(--space-6);
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--ijs-bg-gray);
    color: var(--ijs-text-muted);
    font-size: 48px;
}

.card-image-file {
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
}

.pdf-thumb-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.card-file-ext {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.card-badge-file {
    background: rgba(30,41,59,.72);
}

/* ── Contact Cards ── */
.contact-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.contact-card i {
    font-size: 40px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-4);
    display: block;
}

.contact-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-3);
}

.contact-card p {
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
    line-height: var(--leading-relaxed);
}

/* ── Section Description ── */
.section-desc {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-muted);
    max-width: 720px;
    margin: var(--space-4) auto 0;
    text-align: center;
}

/* ── Section Title em emphasis ── */
.section-title em {
    font-style: normal;
    color: var(--ijs-primary);
}

/* ── About Page Tagline ── */
.about-tagline {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-primary);
    margin-top: var(--space-6);
    font-family: var(--font-en);
    letter-spacing: -0.02em;
}

/* ── CEO Page Slogan ── */
.ceo-slogan {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--ijs-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
    font-family: var(--font-en);
}

/* ── Grid 3 used in contact page ── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* ═══════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES - Additional Components
   ═══════════════════════════════════════════════════════ */

/* ── Sub Visual Small Variant ── */
.sub-visual-sm {
    height: 200px;
}

/* ── Section Gray Background ── */
.section-gray {
    background: var(--ijs-bg-gray);
}

/* ── Company About Page ── */
.about-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    margin-bottom: var(--space-12);
}

.about-overview-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-overview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-overview-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.about-overview-text h3 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-4);
    color: var(--ijs-dark);
}

.about-card {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid var(--ijs-border-light);
    text-align: center;
    transition: all var(--transition-normal);
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.about-card-icon {
    font-size: 48px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-4);
}

.about-card-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-3);
    color: var(--ijs-dark);
}

.about-card-text {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* ── Key Figures Section ── */
.about-figures-section {
    background: linear-gradient(135deg, var(--ijs-dark) 0%, #2a2d3e 100%);
    position: relative;
}
.about-figures {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-6);
}
.about-figure {
    text-align: center;
    color: #fff;
}
.about-figure i {
    font-size: 32px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-3);
}
.about-figure-num {
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: var(--space-1);
}
.about-figure-label {
    font-size: var(--text-sm);
    opacity: 0.9;
}
.about-figure-sub {
    font-size: var(--text-xs);
    opacity: 0.5;
    margin-top: var(--space-1);
}

/* ── Core Values ── */
.about-value-card {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ijs-border-light);
    background: var(--color-white);
    transition: all var(--transition-normal);
}
.about-value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(208, 17, 100, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-4);
}
.about-value-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
    color: var(--ijs-dark);
}
.about-value-card p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* ── Certifications & Awards ── */
.about-certs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}
.about-cert-group h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.about-cert-group h3 i {
    color: var(--ijs-primary);
    font-size: 24px;
}
.about-cert-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.about-cert-item {
    padding: var(--space-4);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--ijs-primary);
}
.about-cert-item strong {
    display: block;
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--ijs-dark);
    margin-bottom: 2px;
}
.about-cert-item span {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
}

/* ── History Milestones ── */
.about-milestones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}
.about-milestone {
    padding: var(--space-4);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--ijs-border-light);
    text-align: center;
    transition: all var(--transition-normal);
}
.about-milestone:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.about-milestone.highlight {
    border-color: var(--ijs-primary);
    background: rgba(208, 17, 100, 0.03);
}
.about-milestone-year {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    font-family: var(--font-heading);
    color: var(--ijs-primary);
    margin-bottom: var(--space-2);
}
.about-milestone-text {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

.info-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ijs-border-light);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    background: var(--ijs-bg-gray);
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--ijs-text-light);
    text-align: left;
    white-space: nowrap;
    width: 140px;
    border-bottom: 1px solid var(--ijs-border-light);
}

.info-table td {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--ijs-border-light);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* ── CEO Page ── */
.ceo-section {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--space-12);
    align-items: start;
}

.ceo-photo {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.ceo-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.ceo-message {
    padding-top: var(--space-4);
}

.ceo-greeting-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
}

.ceo-greeting-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text);
    margin-bottom: var(--space-8);
}

.ceo-greeting-text p {
    margin-bottom: var(--space-4);
}

.ceo-sign {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--ijs-border-light);
}

.ceo-sign-img {
    width: 120px;
}

.ceo-sign-img img {
    width: 100%;
    height: auto;
}

.ceo-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.ceo-company {
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
}

.ceo-title {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
}

.ceo-name {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
}

/* ── History Timeline Entries ── */
.timeline-entry {
    padding-bottom: var(--space-2);
}

.timeline-entry i {
    color: var(--ijs-primary);
    font-size: 14px;
    margin-right: 4px;
}

/* Timeline cards */
.timeline-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ijs-border-light);
    transition: box-shadow 0.3s ease;
}

.timeline-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-card--highlight {
    border-left: 3px solid var(--ijs-primary);
    background: linear-gradient(135deg, #fff 0%, rgba(208, 17, 100, 0.03) 100%);
}

.timeline-right .timeline-card--highlight {
    border-left: 1px solid var(--ijs-border-light);
    border-right: 3px solid var(--ijs-primary);
}

.timeline-dot--highlight {
    background: var(--ijs-primary) !important;
    width: 20px !important;
    height: 20px !important;
    box-shadow: 0 0 0 4px rgba(208, 17, 100, 0.15);
}

.timeline-left .timeline-dot--highlight {
    right: -10px;
}

.timeline-right .timeline-dot--highlight {
    left: -10px;
}

/* Decade separator */
.timeline-decade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-6) 0 var(--space-4);
    position: relative;
    z-index: 2;
}

.timeline-decade-year {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-extrabold);
    color: #fff;
    background: var(--ijs-primary);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    line-height: 1;
}

.timeline-decade-label {
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
    font-weight: var(--weight-medium);
}

/* Decade Quick Nav */
.history-decade-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.history-decade-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3) var(--space-5);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.history-decade-btn:hover {
    background: #fff;
    border-color: var(--ijs-primary);
    box-shadow: 0 2px 8px rgba(208, 17, 100, 0.1);
}

.history-decade-btn-year {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
}

.history-decade-btn-label {
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
    margin-top: 2px;
}

/* ── Organization Chart (org-* variant) ── */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-10) 0;
}

.org-node-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-node-wrap.has-children {
    margin-bottom: var(--space-4);
}

.org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: var(--weight-semibold);
    text-align: center;
    min-width: 160px;
    transition: transform var(--transition-fast);
}

.org-node:hover {
    transform: scale(1.05);
}

.org-node-title {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
}

.org-node-subtitle {
    font-size: var(--text-xs);
    opacity: 0.8;
    margin-top: var(--space-1);
}

.org-children {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--space-4);
}

/* ── Patent Card (variant) ── */
.patent-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
    background: white;
}

.patent-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.patent-card-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.patent-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patent-card-body {
    padding: var(--space-4);
}

.patent-card-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--ijs-dark);
    margin-bottom: var(--space-1);
}

.patent-card-number {
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
}

/* ── Board View (Detail Page) ── */
.board-view {
    max-width: 900px;
    margin: 0 auto;
}

.board-view-header {
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--ijs-border);
    margin-bottom: var(--space-8);
}

.board-view-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-4);
}

.board-view-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
}

.board-view-thumb {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.board-view-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.board-view-content {
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
    color: var(--ijs-text);
}

.board-view-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.board-view-attachments {
    margin-top: var(--space-8);
    padding: var(--space-4) var(--space-5);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
}

.board-view-attachments h4 {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-3);
}

.board-view-attach {
    margin-top: var(--space-6);
    padding: var(--space-4) var(--space-5);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
    border: 1px solid var(--ijs-border);
}

.board-view-attach .attach-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--ijs-text-muted);
    margin-bottom: var(--space-2);
}

.attach-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--ijs-primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-decoration: none;
    transition: opacity .15s;
}

.attach-link:hover { opacity: .85; color: #fff; }
.attach-link .ti { font-size: 16px; }

.board-view-video {
    margin-bottom: var(--space-6);
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.attachment-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--ijs-primary);
    text-decoration: none;
}

.attachment-link:hover {
    text-decoration: underline;
}

.attachment-size {
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
}

/* ── Board Navigation (Prev/Next) ── */
.board-nav {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--ijs-border);
}

.board-nav-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    max-width: 45%;
}

.board-nav-prev {
    align-items: flex-start;
}

.board-nav-next {
    align-items: flex-end;
    text-align: right;
}

.board-nav-label {
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
    text-transform: uppercase;
    font-weight: var(--weight-medium);
}

.board-nav-title {
    font-size: var(--text-sm);
    color: var(--ijs-dark);
    font-weight: var(--weight-medium);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.board-nav-title a {
    color: inherit;
}

.board-nav-title a:hover {
    color: var(--ijs-primary);
}

/* ── Board Item Extended (with thumbnail) ── */
.board-item-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-right: var(--space-4);
}

.board-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-item-info {
    flex: 1;
    min-width: 0;
}

.board-item-meta {
    display: flex;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
    margin-top: var(--space-1);
}

/* ── Recruit List ── */
.recruit-list {
    display: flex;
    flex-direction: column;
}

.recruit-item {
    display: flex;
    align-items: center;
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--ijs-border-light);
    transition: background var(--transition-fast);
    gap: var(--space-4);
}

.recruit-item:hover {
    background: var(--ijs-bg-gray);
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
    border-radius: var(--radius-md);
}

.recruit-item-status {
    flex: 0 0 auto;
}

.recruit-item-info {
    flex: 1;
    min-width: 0;
}

.recruit-item-title {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--ijs-dark);
    margin-bottom: var(--space-1);
}

.recruit-item-title a {
    color: inherit;
}

.recruit-item-title a:hover {
    color: var(--ijs-primary);
}

.recruit-item-meta {
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
}

.recruit-item-arrow {
    flex: 0 0 auto;
    font-size: var(--text-xl);
    color: var(--ijs-text-muted);
}

/* ── Culture Page ── */

/* Culture hero banner with background image */
.culture-hero-banner {
    position: relative;
    padding: var(--space-16) 0;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}
.culture-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 29, 46, 0.85) 0%, rgba(208, 17, 100, 0.6) 100%);
}
.culture-hero-banner .container {
    position: relative;
    z-index: 1;
}
.culture-intro-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.culture-intro-text h2 {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-6);
    color: white;
}
.culture-intro-text p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-3);
}

/* Talent cards (인재상) */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
.talent-card {
    text-align: center;
    padding: var(--space-8) var(--space-5);
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
}
.talent-card:hover {
    border-color: var(--ijs-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.talent-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ijs-primary-pale, rgba(208, 17, 100, 0.08));
    font-size: 28px;
    color: var(--ijs-primary);
}
.talent-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-3);
}
.talent-card p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* Core value cards (expanded) */
.culture-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
}
.culture-card:hover {
    border-color: var(--ijs-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.culture-card-icon {
    font-size: 48px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-4);
}
.culture-card p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
    text-align: left;
    margin-top: var(--space-3);
}

/* Recruit process */
.process-section {
    background: var(--ijs-bg-gray);
}
.process-image {
    text-align: center;
    margin-bottom: var(--space-8);
}
.process-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}
.process-image .img-mo { display: none; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.process-step {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}
.process-step-num {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ijs-primary);
    color: white;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-step-text h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-1);
}
.process-step-text p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* Benefit categories */
.benefit-category {
    margin-bottom: var(--space-8);
}
.benefit-category:last-child {
    margin-bottom: 0;
}
.benefit-category-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--ijs-dark);
}
.benefit-category-title i {
    color: var(--ijs-primary);
}
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}
.benefit-card {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--ijs-border-light);
    text-align: left;
    transition: all var(--transition-normal);
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}
.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.benefit-card-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--ijs-primary-pale, rgba(208, 17, 100, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--ijs-primary);
}
.benefit-card h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-1);
}
.benefit-card p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* Culture stats */
.culture-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    margin-bottom: var(--space-8);
}
.culture-stat {
    text-align: center;
}
.culture-stat-num {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: var(--ijs-primary);
    line-height: 1.2;
}
.culture-stat-label {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    margin-top: var(--space-1);
}

/* Recruit quick-links card */
.recruit-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}
.recruit-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-6) var(--space-4);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}
.recruit-link-card:hover {
    border-color: var(--ijs-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.recruit-link-card i {
    font-size: 32px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-3);
}
.recruit-link-card h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-1);
}
.recruit-link-card p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
}

/* HR contact info */
.hr-contact-box {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--ijs-bg-gray);
    margin-top: var(--space-8);
}
.hr-contact-box i {
    font-size: 28px;
    color: var(--ijs-primary);
}
.hr-contact-box p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}
.hr-contact-box strong {
    color: var(--ijs-dark);
}

/* ── Search Page ── */
.search-form {
    max-width: 600px;
    margin: 0 auto var(--space-8);
    display: flex;
    gap: var(--space-3);
}

.search-results {
    margin-top: var(--space-6);
}

.search-result-type {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--ijs-primary);
    text-transform: uppercase;
    margin-bottom: var(--space-1);
}

.search-result-excerpt {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

.search-result-info {
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
    margin-top: var(--space-4);
}

/* ── Legal Content (Privacy, Terms) ── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text);
}

.legal-content h2 {
    font-size: var(--text-xl);
    margin: var(--space-8) 0 var(--space-4);
}

.legal-content h3 {
    font-size: var(--text-lg);
    margin: var(--space-6) 0 var(--space-3);
}

.legal-content p {
    margin-bottom: var(--space-3);
}

.legal-content ul,
.legal-content ol {
    padding-left: var(--space-5);
    margin: var(--space-3) 0;
}

.legal-content li {
    margin-bottom: var(--space-2);
    list-style: disc;
}

/* ── Contact Form ── */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

/* ── Our Partners ── */
.partners-section {
    display: flex;
    gap: var(--space-10);
    align-items: flex-start;
}
.partners-header h2 {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-primary);
    line-height: 1.2;
    white-space: nowrap;
    border-left: 4px solid var(--ijs-primary);
    padding-left: var(--space-4);
}
.partners-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: var(--space-4);
    align-items: center;
}
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3);
}
.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all .3s;
}
.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
@media (max-width: 1024px) {
    .partners-section { flex-direction: column; gap: var(--space-6); }
    .partners-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 600px) {
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
    .partners-header h2 { font-size: var(--text-2xl); }
}

/* ═══════════════════════════════════════════════════════════
   Apply (Recruit Application) Styles
   ═══════════════════════════════════════════════════════════ */

/* Step Indicator */
.apply-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-8);
}
.apply-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}
.apply-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
    background: var(--ijs-bg-gray);
    color: var(--ijs-text-muted);
    border: 2px solid var(--ijs-border-light);
    transition: all .3s;
}
.apply-step.active .apply-step-num {
    background: var(--ijs-primary);
    color: #fff;
    border-color: var(--ijs-primary);
}
.apply-step-label {
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
    margin-top: var(--space-1);
}
.apply-step.active .apply-step-label {
    color: var(--ijs-primary);
    font-weight: var(--weight-semibold);
}
.apply-step-line {
    width: 60px;
    height: 2px;
    background: var(--ijs-border-light);
    margin: 0 var(--space-2);
    margin-bottom: 20px;
}

/* Tabs (Register/Login) */
.apply-tabs {
    display: flex;
    border-bottom: 2px solid var(--ijs-border-light);
    margin-bottom: var(--space-6);
}
.apply-tab {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    text-align: center;
    background: none;
    border: none;
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--ijs-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.apply-tab:hover { color: var(--ijs-text); }
.apply-tab.active {
    color: var(--ijs-primary);
    border-bottom-color: var(--ijs-primary);
    font-weight: var(--weight-semibold);
}

/* Agree Page */
.apply-agree-box {
    max-height: 300px;
    overflow-y: auto;
    padding: var(--space-5);
    background: var(--ijs-bg-gray);
    border: 1px solid var(--ijs-border-light);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-light);
    margin-bottom: var(--space-6);
}
.apply-agree-box h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-3);
}
.apply-agree-box table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-3) 0;
    font-size: var(--text-sm);
}
.apply-agree-box th,
.apply-agree-box td {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--ijs-border-light);
    text-align: left;
}
.apply-agree-box th {
    background: var(--ijs-bg);
    font-weight: var(--weight-semibold);
    white-space: nowrap;
}
.apply-guide-box {
    padding: var(--space-5);
    background: #f0f7ff;
    border: 1px solid #c6ddf7;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}
.apply-guide-box h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.apply-guide-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.apply-guide-box li {
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}
.apply-guide-box li i {
    color: var(--ijs-primary);
    margin-top: 2px;
    flex-shrink: 0;
}
.apply-agree-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
}
.apply-agree-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--ijs-primary);
}
.apply-agree-check label {
    font-weight: var(--weight-semibold);
    cursor: pointer;
}

/* Form Page */
.apply-form-section {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--ijs-border-light);
}
.apply-form-section:last-of-type {
    border-bottom: none;
}
.apply-form-section h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.apply-radio-group {
    display: flex;
    gap: var(--space-4);
}
.apply-radio {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border: 2px solid var(--ijs-border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all .2s;
    font-weight: var(--weight-medium);
}
.apply-radio:hover {
    border-color: var(--ijs-primary-light);
}
.apply-radio input[type="radio"] {
    accent-color: var(--ijs-primary);
}
.apply-radio input[type="radio"]:checked ~ span {
    color: var(--ijs-primary);
}
.apply-recruit-info {
    padding: var(--space-4);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
}
.apply-recruit-info i {
    color: var(--ijs-primary);
    font-size: var(--text-lg);
}
.apply-file-upload {
    border: 2px dashed var(--ijs-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    transition: all .2s;
}
.apply-file-upload:hover {
    border-color: var(--ijs-primary-light);
    background: rgba(var(--ijs-primary-rgb, 13, 71, 161), 0.02);
}
.apply-file-upload input[type="file"] {
    display: block;
    width: 100%;
    margin-top: var(--space-2);
}
.apply-file-upload .file-hint {
    font-size: var(--text-xs);
    color: var(--ijs-text-muted);
    margin-top: var(--space-1);
}

/* Complete Page */
.apply-complete {
    text-align: center;
    padding: var(--space-10) 0;
}
.apply-complete-icon {
    font-size: 80px;
    color: #22c55e;
    margin-bottom: var(--space-4);
    line-height: 1;
}
.apply-complete h2 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-4);
}
.apply-complete-id {
    font-size: var(--text-lg);
    color: var(--ijs-text-light);
    margin-bottom: var(--space-4);
}
.apply-complete-desc {
    color: var(--ijs-text-muted);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}
.apply-complete-info {
    max-width: 400px;
    margin: 0 auto var(--space-6);
    text-align: left;
    padding: var(--space-5);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-lg);
}
.apply-complete-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.apply-complete-info li {
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}
.apply-complete-info li i {
    color: var(--ijs-primary);
    margin-top: 2px;
}

/* Apply Responsive */
@media (max-width: 600px) {
    .apply-steps { gap: 0; }
    .apply-step-line { width: 30px; }
    .apply-step-num { width: 30px; height: 30px; font-size: 12px; }
    .apply-step-label { font-size: 11px; }
    .apply-radio-group { flex-direction: column; }
    .apply-tab { font-size: var(--text-sm); padding: var(--space-2) var(--space-3); }
}
