/* ════════════════════════════════════════════════
   Academic Portal — Redesigned CSS
   ════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --navy:       #0f2044;
    --navy-mid:   #1a3460;
    --navy-light: #234080;
    --accent:     #3b82f6;
    --accent-hover: #2563eb;
    --bg:         #f0f4f8;
    --surface:    #ffffff;
    --border:     #e2e8f0;
    --text-primary:   #0f172a;
    --text-secondary: #64748b;
    --text-muted:     #94a3b8;
    --success-bg:  #f0fdf4; --success-border: #bbf7d0; --success-text: #166534;
    --warning-bg:  #fffbeb; --warning-border: #fde68a; --warning-text:  #92400e;
    --danger-bg:   #fef2f2; --danger-border:  #fecaca; --danger-text:   #991b1b;
    --info-bg:     #eff6ff; --info-border:    #bfdbfe; --info-text:     #1d4ed8;
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  14px;
    --radius-xl:  18px;
    --shadow-sm:  0 1px 3px rgba(15,32,68,.06), 0 1px 2px rgba(15,32,68,.04);
    --shadow-md:  0 4px 16px rgba(15,32,68,.10), 0 1px 4px rgba(15,32,68,.06);
    --shadow-lg:  0 8px 32px rgba(15,32,68,.15);
}

body {
    background: var(--bg) !important;
    margin: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--text-primary) !important;
    -webkit-font-smoothing: antialiased;
}

/* TOPBAR */
.ap-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 62px;
    background: var(--navy) !important;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(15,32,68,0.2);
}
.ap-topbar .logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff !important;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ap-topbar .logo::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 8px;
    flex-shrink: 0;
}
.ap-topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}
.ap-topbar .topbar-right a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    transition: color 0.15s;
}
.ap-topbar .topbar-right a:hover { color: #fff !important; }
.ap-topbar .topbar-right span { color: rgba(255,255,255,0.65); }
.ap-topbar .topbar-right .logout {
    color: #f87171 !important;
    font-size: 12px;
    padding: 5px 14px;
    border: 1px solid rgba(248,113,113,0.4);
    border-radius: 20px;
    transition: all 0.15s;
}
.ap-topbar .topbar-right .logout:hover { background: rgba(248,113,113,0.12); }

/* AUTH PAGE */
.ap-auth-page {
    min-height: calc(100vh - 62px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f2044 0%, #1a3460 55%, #1e40af 100%);
}
.ap-auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: none;
    padding: 36px 36px 32px;
    box-shadow: var(--shadow-lg);
}
.ap-auth-card.wide { max-width: 520px; }
.ap-auth-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px;
}
.ap-auth-card .subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 28px;
    line-height: 1.5;
}

/* FORM FIELDS */
.ap-field { margin-bottom: 16px; }
.ap-field label, .ap-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.ap-field input,
.ap-field select,
.ap-field textarea,
.academic-container input[type="text"],
.academic-container input[type="email"],
.academic-container input[type="password"],
.academic-container input[type="number"],
.academic-container input[type="url"],
.academic-container input[type="date"],
.academic-container input[type="tel"],
.academic-container select,
.academic-container textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    font-size: 14px !important;
    background: #f8fafc !important;
    color: var(--text-primary) !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-family: 'Inter', sans-serif !important;
}
.academic-container input:focus,
.academic-container select:focus,
.academic-container textarea:focus {
    outline: none !important;
    border-color: var(--accent) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12) !important;
}
.academic-container select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 15px !important;
    padding-right: 36px !important;
}
.academic-container input[type="submit"] {
    width: 100% !important;
    padding: 12px !important;
    background: var(--navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 8px !important;
    transition: background 0.2s, transform 0.1s !important;
    font-family: 'Inter', sans-serif !important;
}
.academic-container input[type="submit"]:hover {
    background: var(--navy-mid) !important;
    transform: translateY(-1px) !important;
}

.ap-btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}
.ap-btn-ghost:hover { background: var(--bg); border-color: var(--navy); }

.ap-toggle {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.ap-toggle a {
    color: var(--accent) !important;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.ap-toggle a:hover { color: var(--accent-hover) !important; }

.ap-role-box {
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}
.ap-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* MESSAGES */
.ap-msg {
    padding: 13px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ap-msg-success { background: var(--success-bg); color: var(--success-text); border: 1px solid var(--success-border); }
.ap-msg-error   { background: var(--danger-bg);  color: var(--danger-text);  border: 1px solid var(--danger-border); }
.ap-msg-pending { background: var(--warning-bg); color: var(--warning-text); border: 1px solid var(--warning-border); }

/* DASHBOARD */
.ap-dashboard {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px 60px;
}

/* PAGE BANNER — like "Contact Us" hero in reference */
.ap-page-banner {
    background: var(--navy);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ap-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,0.22) 0%, transparent 65%);
    pointer-events: none;
}
.ap-page-banner h1 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}
.ap-page-banner p {
    font-size: 14px;
    color: rgba(255,255,255,0.60);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* TABS */
.ap-tabs-wrap {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.ap-tabs {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    background: #fff;
    position: relative;
    z-index: 2;
}
.ap-tab {
    padding: 16px 20px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Inter', sans-serif;
    transition: color 0.15s;
    white-space: nowrap;
}
.ap-tab:hover { color: var(--navy); }
.ap-tab.active { color: var(--navy); border-bottom-color: var(--accent); font-weight: 600; }
.ap-tab:focus { outline: none; }

/* CARDS */
.ap-card {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    position: relative;
    z-index: 2;
}
.ap-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

/* PROFILE HEADER — dark navy card like reference "Get in touch" panel */
.ap-profile-header {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-md);
}
.ap-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(59,130,246,0.2);
    border: 2px solid rgba(59,130,246,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #93c5fd;
    flex-shrink: 0;
}
.ap-profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
}
.ap-profile-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 10px;
}

/* INFO ROWS — like the phone/email/address rows in reference designs */
.ap-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.ap-info-row:last-child { border-bottom: none; }
.ap-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--info-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}
.ap-info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.ap-info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* BADGES */
.ap-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}
.ap-badge-blue  { background: #dbeafe; color: #1d4ed8; }
.ap-badge-green { background: #dcfce7; color: #166534; }
.ap-badge-amber { background: #fef3c7; color: #92400e; }
.ap-badge-red   { background: #fee2e2; color: #991b1b; }

/* FIELD DISPLAY (read-only values) */
.ap-field-display { margin-bottom: 14px; }
.ap-field-display .ap-label { margin-bottom: 5px; }
.ap-field-val {
    font-size: 14px;
    color: var(--text-primary);
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-weight: 500;
}

/* STATUS BOXES */
.ap-status-pending {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--warning-text);
    margin-bottom: 18px;
}
.ap-status-pending-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    flex-shrink: 0;
    animation: pendingpulse 1.8s ease-in-out infinite;
}
@keyframes pendingpulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.ap-status-accepted {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 18px;
}
.ap-status-accepted h3 {
    color: var(--success-text);
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
}
.ap-status-rejected {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 18px;
}
.ap-status-rejected h3 {
    color: var(--danger-text);
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
}

/* SECTION TITLE with left accent bar */
.ap-form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ap-form-section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--accent);
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}

.ap-date-range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ap-edit-form { margin-top: 18px; }

/* WP LOGIN OVERRIDES */
.academic-container .login-username,
.academic-container .login-password,
.academic-container .login-remember { margin-bottom: 16px; }
.academic-container .login-username label,
.academic-container .login-password label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.academic-container .login-remember { display: flex; align-items: center; font-size: 13px; color: var(--text-secondary); }
.academic-container .login-remember input { width: auto !important; margin-right: 8px; }
.academic-container .login-submit input {
    width: 100% !important;
    padding: 12px !important;
    background: var(--navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 6px !important;
    font-family: 'Inter', sans-serif !important;
}
.academic-container .login-submit input:hover { background: var(--navy-mid) !important; }
#loginform { width: 100% !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; border: none !important; background: transparent !important; }
#login-block { width: 100%; max-width: 460px; }

/* ADMIN META BOX */
.demand-details-box { padding: 10px; background: #f9f9f9; border: 1px solid #ddd; }
.thesis-defense-admin-fields label, .stage-admin-fields label { display: block; font-weight: 600; margin-top: 15px; margin-bottom: 5px; }
.thesis-defense-admin-fields input, .thesis-defense-admin-fields select, .thesis-defense-admin-fields textarea,
.stage-admin-fields input, .stage-admin-fields select, .stage-admin-fields textarea { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px; }
.thesis-defense-admin-fields hr, .stage-admin-fields hr { margin: 15px 0; }

#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* HOME PAGE */
.ap-home-hero {
    padding: 100px 20px;
    text-align: center;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.ap-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
    pointer-events: none;
}
.ap-home-hero .hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.ap-home-hero h1 { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 18px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.ap-home-hero p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.ap-home-btn {
    display: inline-block;
    background: var(--accent) !important;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
    border-color: var(--accent) !important;
    box-shadow: 0 4px 18px rgba(59,130,246,0.4);
}
.ap-home-btn:hover { background: var(--accent-hover) !important; transform: translateY(-2px); }
.ap-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; padding: 48px 32px 64px; max-width: 1100px; margin: 0 auto; }
.ap-home-card { background: var(--surface); padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.ap-home-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ap-home-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.ap-home-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.ap-profile-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px;
}
@media screen and (max-width: 600px) {
    .ap-profile-cards-grid { grid-template-columns: 1fr !important; }
}

/* RESPONSIVE */
@media screen and (max-width: 782px) {
    #wpadminbar { display: none !important; }
    html { margin-top: 0 !important; }
    .ap-card-grid { grid-template-columns: 1fr; }
    .ap-grid-2 { grid-template-columns: 1fr; }
    .ap-date-range { grid-template-columns: 1fr; }
    .ap-tabs { padding: 0 12px; overflow-x: auto; }
    .ap-dashboard { padding: 20px 16px 40px; }
    .ap-topbar { padding: 0 16px; }
    .ap-profile-header { flex-direction: column; text-align: center; gap: 12px; }
    .ap-home-hero h1 { font-size: 28px; }
    .ap-home-grid { padding: 32px 16px 48px; }
}

/* ── HISTORY TAB ────────────────────────────────── */
.ap-history-subtabs {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}
.ap-subtab {
    padding: 10px 18px 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: none;
    border-bottom: 2.5px solid transparent;
    background: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.15s;
    margin-bottom: -1px;
}
.ap-subtab:hover { color: var(--navy); }
.ap-subtab.active { color: var(--navy); border-bottom-color: var(--accent); font-weight: 600; }
.ap-subtab:focus { outline: none; }

.ap-history-list { display: flex; flex-direction: column; gap: 14px; }

.ap-history-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.ap-history-item:hover { box-shadow: var(--shadow-md); }

.ap-history-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--border);
    background: #fafbfc;
}
.ap-history-item-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}
.ap-history-item-meta {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}
.ap-history-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.ap-history-date {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}
.ap-history-item-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    padding: 16px 20px;
}
.ap-history-detail { display: flex; flex-direction: column; gap: 4px; }
.ap-history-detail .ap-label { font-size: 10px; }
.ap-history-detail .ap-field-val {
    font-size: 13px;
    padding: 7px 11px;
}

.ap-history-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}
.ap-history-empty-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.ap-history-empty p { font-size: 14px; margin: 0; }

@media screen and (max-width: 782px) {
    .ap-history-item-header { flex-direction: column; gap: 10px; }
    .ap-history-item-right { flex-direction: row; align-items: center; }
    .ap-history-item-body { grid-template-columns: 1fr; }
}

/* ── ACADEMIC YEAR COUNTER ──────────────────────── */
.ap-yc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: var(--radius-lg);
    border: 1.5px solid;
    padding: 16px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.ap-yc-free    { background: #f0fdf4; border-color: #86efac; }
.ap-yc-used    { background: #fff7ed; border-color: #fdba74; }
.ap-yc-pending { background: #eff6ff; border-color: #93c5fd; }

.ap-yc-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.ap-yc-icon { font-size: 26px; flex-shrink: 0; line-height: 1; }
.ap-yc-text { min-width: 0; }
.ap-yc-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}
.ap-yc-free    .ap-yc-title { color: #166534; }
.ap-yc-used    .ap-yc-title { color: #9a3412; }
.ap-yc-pending .ap-yc-title { color: #1e40af; }

.ap-yc-sub {
    font-size: 12.5px;
    line-height: 1.5;
}
.ap-yc-free    .ap-yc-sub { color: #15803d; }
.ap-yc-used    .ap-yc-sub { color: #c2410c; }
.ap-yc-pending .ap-yc-sub { color: #1d4ed8; }

.ap-yc-slot {
    text-align: center;
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    min-width: 90px;
}
.ap-yc-free    .ap-yc-slot { background: #dcfce7; }
.ap-yc-used    .ap-yc-slot { background: #ffedd5; }
.ap-yc-pending .ap-yc-slot { background: #dbeafe; }

.ap-yc-num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}
.ap-yc-free    .ap-yc-num { color: #166534; }
.ap-yc-used    .ap-yc-num { color: #9a3412; }
.ap-yc-pending .ap-yc-num { color: #1e40af; }

.ap-yc-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}
.ap-yc-free    .ap-yc-label { color: #15803d; }
.ap-yc-used    .ap-yc-label { color: #c2410c; }
.ap-yc-pending .ap-yc-label { color: #1d4ed8; }

@media screen and (max-width: 480px) {
    .ap-yc { flex-direction: column; align-items: flex-start; gap: 12px; }
    .ap-yc-slot { width: 100%; padding: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .ap-yc-num { font-size: 17px; }
}
