/* ==========================================================================
   SMP NEGERI 2 TAROKAN - DEDICATED PORTAL ALUMNI & TRACER STUDY STYLESHEET
   Font Signature: Quicksand, Plus Jakarta Sans, Inter
   Theme: Deep Navy (#0a2342) & Prestasi Gold (#f59e0b)
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO BANNER
   -------------------------------------------------------------------------- */
.alm-hero {
    position: relative;
    background: linear-gradient(135deg, #07192e 0%, #0a2342 55%, #154a8a 100%);
    color: #ffffff;
    padding: 56px 0 68px;
    border-bottom: 3px solid #f59e0b;
    overflow: hidden;
}

.alm-hero-glow {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(59, 130, 246, 0.16) 0%, transparent 50%);
    pointer-events: none;
}

.alm-hero-inner {
    position: relative;
    z-index: 2;
}

.alm-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.alm-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.alm-breadcrumbs a:hover {
    color: #fbbf24;
}

.alm-breadcrumbs .sep {
    color: #64748b;
    font-size: 0.75rem;
}

.alm-breadcrumbs .active {
    color: #fbbf24;
    font-weight: 700;
}

.alm-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.alm-hero-tag .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
}

.alm-hero h1 {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 14px;
    color: #ffffff;
}

.alm-hero h1 span {
    color: #fbbf24;
}

.alm-hero p {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 0 24px;
}

.alm-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #07192e;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
}

.alm-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #07192e;
}

/* --------------------------------------------------------------------------
   SUCCESS ALERT
   -------------------------------------------------------------------------- */
.alm-alert-success {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.alm-alert-success svg {
    flex-shrink: 0;
    color: #059669;
}

/* --------------------------------------------------------------------------
   TRACER STUDY METRICS GRID
   -------------------------------------------------------------------------- */
.alm-tracer-section {
    margin-bottom: 32px;
}

.alm-section-header {
    margin-bottom: 18px;
}

.alm-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.alm-section-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.alm-section-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.alm-tracer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.alm-tracer-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alm-tracer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.alm-tracer-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 6px;
}

.alm-tracer-value {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 6px;
}

.alm-tracer-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
}

.alm-tracer-card.sma { border-color: #bfdbfe; background: #f8fbff; }
.alm-tracer-card.sma .alm-tracer-label { color: #1e40af; }
.alm-tracer-card.sma .alm-tracer-value { color: #1e3a8a; }

.alm-tracer-card.smk { border-color: #c7d2fe; background: #fafafe; }
.alm-tracer-card.smk .alm-tracer-label { color: #3730a3; }
.alm-tracer-card.smk .alm-tracer-value { color: #312e81; }

.alm-tracer-card.ma { border-color: #a7f3d0; background: #f0fdf4; }
.alm-tracer-card.ma .alm-tracer-label { color: #065f46; }
.alm-tracer-card.ma .alm-tracer-value { color: #047857; }

.alm-tracer-card.ponpes { border-color: #fed7aa; background: #fffaf5; }
.alm-tracer-card.ponpes .alm-tracer-label { color: #9a3412; }
.alm-tracer-card.ponpes .alm-tracer-value { color: #c2410c; }

.alm-tracer-card.kuliah { border-color: #fbcfe8; background: #fdf4f9; }
.alm-tracer-card.kuliah .alm-tracer-label { color: #9d174d; }
.alm-tracer-card.kuliah .alm-tracer-value { color: #be185d; }

/* --------------------------------------------------------------------------
   FILTER & SEARCH BAR
   -------------------------------------------------------------------------- */
.alm-filter-panel {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.alm-filter-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.alm-pills-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.alm-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    background: #f1f5f9;
    color: #334155;
    transition: all 0.2s ease;
}

.alm-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.alm-pill.active {
    background: #0a2342;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(10, 35, 66, 0.25);
}

.alm-search-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.alm-select {
    padding: 8px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.alm-select:focus {
    border-color: #2563eb;
    background: #ffffff;
}

.alm-search-input-wrap {
    position: relative;
    width: 220px;
}

.alm-search-input-wrap svg {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #94a3b8;
    pointer-events: none;
}

.alm-search-input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.alm-search-input:focus {
    border-color: #2563eb;
    background: #ffffff;
}

.alm-btn-search {
    padding: 8px 18px;
    background: #0a2342;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.alm-btn-search:hover {
    background: #154a8a;
}

.alm-btn-reset {
    padding: 8px 14px;
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.alm-btn-reset:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* --------------------------------------------------------------------------
   ALUMNI CARDS GRID
   -------------------------------------------------------------------------- */
.alm-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.alm-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.alm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    border-color: #93c5fd;
}

.alm-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

/* AVATAR ALUMNI */
.alm-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.alm-avatar.male,
.alm-avatar-male {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%) !important;
}

.alm-avatar.female,
.alm-avatar-female {
    background: linear-gradient(135deg, #9f1239 0%, #d97706 100%) !important;
}

.alm-card-header {
    min-width: 0;
    flex: 1;
}

.alm-card-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alm-card-year {
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
}

.alm-dest-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.alm-dest-badge.SMA { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alm-dest-badge.SMK { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.alm-dest-badge.MA { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alm-dest-badge.Pondok\ Pesantren { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.alm-dest-badge.Kuliah { background: #fdf2f8; color: #be185d; border: 1px solid #fbcfe8; }
.alm-dest-badge.Bekerja { background: #f8fafc; color: #334155; border: 1px solid #cbd5e1; }

.alm-instansi {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.alm-jurusan {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0 0 14px;
}

.alm-quote {
    background: #f8fafc;
    border-left: 3px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-style: italic;
    color: #475569;
    line-height: 1.5;
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   FORM PENDAFTARAN ALUMNI (alumni/create.blade.php)
   -------------------------------------------------------------------------- */
.alm-form-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.alm-privacy-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.alm-privacy-box-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #059669;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alm-privacy-box-text h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #065f46;
    margin: 0 0 4px;
}

.alm-privacy-box-text p {
    font-size: 0.8rem;
    color: #047857;
    line-height: 1.55;
    margin: 0;
}

.alm-form-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.alm-form-group {
    margin-bottom: 20px;
}

.alm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.alm-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.alm-label .req {
    color: #e11d48;
}

.alm-label .hint {
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 4px;
}

.alm-input,
.alm-form-select,
.alm-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.alm-input:focus,
.alm-form-select:focus,
.alm-textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.alm-textarea {
    resize: vertical;
    min-height: 90px;
}

.alm-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #07192e;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
    margin-top: 10px;
}

.alm-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.alm-errors-box {
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    border-radius: 12px;
    padding: 14px 18px;
    color: #9f1239;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.alm-errors-box ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .alm-tracer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .alm-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .alm-hero {
        padding: 40px 0 50px;
    }
    .alm-tracer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .alm-cards-grid {
        grid-template-columns: 1fr;
    }
    .alm-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .alm-search-group {
        flex-direction: column;
        align-items: stretch;
    }
    .alm-search-input-wrap {
        width: 100%;
    }
    .alm-form-row {
        grid-template-columns: 1fr;
    }
    .alm-privacy-box {
        flex-direction: column;
        gap: 12px;
    }
}
