.ixtp-gov {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f5;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid #dcdcdc;
    font-size: 13px;
}

.ixtp-filter-form {
    margin-bottom: 12px;
}

.ixtp-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px 16px;
    align-items: flex-end;
}

.ixtp-filter-field label {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.ixtp-filter-field input,
.ixtp-filter-field select {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    font-size: 13px;
    background: #fff;
}

.ixtp-filter-actions {
    margin-top: 4px;
}

.ixtp-view-toggle {
    margin: 8px 0 12px;
}

.ixtp-view-btn {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 4px;
    text-decoration: none;
    color: #333;
    background: #fff;
}

.ixtp-view-btn.is-active {
    background: #005ea6;
    color: #fff;
    border-color: #004a84;
}

.ixtp-premium-panel {
    background: #fff;
    border-left: 4px solid #005ea6;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.ixtp-premium-panel h3 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
}

.ixtp-urgency {
    color: #b91c1c;
    font-weight: 600;
    font-size: 12px;
}

.ixtp-table-wrap {
    overflow-x: auto;
}

.ixtp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.ixtp-table th,
.ixtp-table td {
    border: 1px solid #d4d4d4;
    padding: 5px 6px;
    text-align: left;
}

.ixtp-table th {
    background: #ececec;
    font-weight: 600;
    font-size: 12px;
}

.ixtp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
}

.ixtp-card {
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    padding: 8px 10px;
}

.ixtp-card-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 2px;
    margin-bottom: 4px;
}

.ixtp-university {
    font-weight: 600;
    color: #222;
    font-size: 13px;
}

.ixtp-year {
    font-size: 11px;
    color: #555;
}

.ixtp-ixtisas a {
    color: #005ea6;
    text-decoration: none;
}
.ixtp-ixtisas a:hover {
    text-decoration: underline;
}

.ixtp-meta-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    color: #444;
    font-size: 12px;
}

.ixtp-status {
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    display: inline-block;
}

.ixtp-status-good {
    background: #e0f2f1;
    color: #065f46;
}

.ixtp-status-warn {
    background: #fef3c7;
    color: #92400e;
}

.ixtp-status-bad {
    background: #fee2e2;
    color: #b91c1c;
}

.ixtp-cta-bar {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ixtp-cta-btn {
    flex: 1 1 160px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.ixtp-cta-wa {
    background: #25d366;
    color: #fff;
}

.ixtp-cta-call {
    background: #007aff;
    color: #fff;
}

.ixtp-cta-btn:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .ixtp-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
