.vos-wrapper {
    color: #4b5563;
    padding-top: 40px;
    padding-bottom: 15px;
}

.vos-section-gap {
    margin-bottom: 24px;
}

.vos-hero {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    /* Accent matches UMN Logo Blue */
    border-radius: 10px;
    padding: 24px 30px;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
}

.vos-hero h2 {
    font-size: 24px;
    font-weight: 700;
    color: #193c6d !important;
    margin-top: 0;
    margin-bottom: 8px;
}

.vos-hero p {
    color: #4b5563 !important;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 0;
}

.vos-hero a {
    color: #193c6d !important;
    text-decoration: underline;
    font-weight: 600;
}

.vos-hero a:hover {
    color: #2b6cb0 !important;
}

.vos-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    height: 100%;
}

.vos-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.vos-card-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14.5px;
    display: block;
}

.vos-card-date {
    font-size: 20px;
    font-weight: 700;
    color: #193c6d;
    margin-top: 5px;
    margin-bottom: 2px;
}

.vos-card select.form-control {
    height: 45px;
    border-radius: 6px;
    border-color: #ced4da;
    font-size: 14.5px;
    font-weight: 500;
    color: #495057;
    background-color: #f8f9fa;

    /* Custom arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath fill='%23666' d='M5.5 7.5L10 12l4.5-4.5 1.5 1.5-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center; /* adjust this value */
    background-size: 12px;

    padding-right: 36px;
}

.vos-card select.form-control:focus {
    border-color: #193c6d;
    box-shadow: 0 0 0 3px rgba(25, 60, 109, 0.12);
    background-color: #ffffff;
}

.vos-iframe-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.vos-frame-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

@media (max-width: 768px) {
    .vos-iframe-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.ai-summary-container {
    margin-top: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.025);
    padding: 30px;
    display: none;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f7ff;
    color: #0369a1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #bae6fd;
    margin-bottom: 20px;
}

.ai-summary-content {
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.75;
}

.ai-summary-content .ai-paragraph {
    margin-bottom: 16px;
}

.ai-summary-content .ai-section-title {
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.ai-summary-content .ai-section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #193c6d;
    border-radius: 2px;
}

.ai-summary-content .ai-list {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: none;
}

.ai-summary-content .ai-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    line-height: 1.6;
}

/* Pure CSS dot bullet - 100% immune to UTF-8 character encoding corruption */
.ai-summary-content .ai-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: #0ea5e9;
    border-radius: 50%;
    display: block;
}

.ai-summary-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* ── Explore CTA Banner ─────────────────────────────── */
.vos-explore-row {
    margin-top: 0px;
    margin-bottom: 00px;
}

.research-ai-cta {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.cta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 220px;
}

.cta-icon {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}

.cta-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    color: #1e1b4b;
    margin-bottom: 4px;
}

.cta-subtitle {
    font-size: 14.5px;
    line-height: 1.75;
    color: #3730a3;
}

.cta-subtitle strong {
    color: #1e1b4b;
    font-weight: 600;
}

.cta-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6366f1;
    font-size: 13px;
    font-weight: 500;
}

.cta-loading svg {
    animation: cta-spin 1s linear infinite;
}

.cta-explore-btn {
    display: none;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.cta-explore-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55);
}

/* ── Iframe header inner labels ─────────────────────── */
.vos-iframe-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vos-iframe-label span {
    font-weight: 700;
    color: #193c6d;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vos-iframe-hint {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* ── Filter row helpers ──────────────────────────────── */
.vos-filter-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -6px;
    margin-right: -6px;
}

.vos-filter-col {
    margin-bottom: 0;
    display: flex;
    padding-left: 6px;
    padding-right: 6px;
}

@media (max-width: 768px) {
    .vos-filter-col {
        margin-bottom: 12px;
    }
}

.vos-card-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vos-card-inputs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.vos-input-jenjang {
    flex: 0 0 140px;
    min-width: 150px;
}

.vos-input-prodi {
    flex: 1;
    min-width: 180px;
}

.vos-card-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── Keyframes ───────────────────────────────────────── */
@keyframes cta-spin {
    to { transform: rotate(360deg); }
}

@keyframes cta-pop-in {
    0%   { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* ── Widget floating button ─────────────────────────── */
#floating-chat-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    height: 54px;
    padding: 0 24px;
    border-radius: 27px;
    background: linear-gradient(150deg, #1d4ed8, #6d28d9);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 2147483647;
    box-shadow: 0 8px 30px rgba(109, 40, 217, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cta-pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

#floating-chat-toggle:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.5);
}
