:root,
.asp-portal {
    --asp-brand-navy: #0a1628;
    --asp-brand-blue: #1e3a8a;
    --asp-brand-accent: #3b82f6;
    --asp-accent: #2563eb;
    --asp-accent-dark: #1d4ed8;
    --asp-success: #16a34a;
    --asp-warning: #f59e0b;
}

.asp-portal {
    font-family: Arial, sans-serif;
    color: var(--asp-brand-navy);
    background: #f8fafc;
}

.asp-portal .asp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

.asp-portal .asp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.06);
}

.asp-portal .asp-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.asp-portal .asp-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.asp-portal .asp-nav a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    color: var(--asp-brand-navy);
    text-decoration: none;
    background: #ffffff;
}

.asp-portal .asp-nav a.is-active {
    background: var(--asp-brand-navy);
    color: #ffffff;
    border-color: var(--asp-brand-navy);
}

.asp-portal .asp-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .asp-portal .asp-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asp-portal .asp-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

.asp-portal .asp-table th,
.asp-portal .asp-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.asp-portal .asp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--asp-accent);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.asp-portal .asp-button-secondary {
    background: #ffffff;
    color: var(--asp-brand-navy);
    border: 1px solid #e2e8f0;
}

.asp-portal .asp-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: #e2e8f0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.asp-portal .asp-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.asp-portal .asp-form input[type="text"],
.asp-portal .asp-form input[type="email"],
.asp-portal .asp-form input[type="password"],
.asp-portal .asp-form input[type="url"],
.asp-portal .asp-form input[type="date"],
.asp-portal .asp-form input[type="file"],
.asp-portal .asp-form select,
.asp-portal .asp-form textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    background: #ffffff;
    color: var(--asp-brand-navy);
    box-sizing: border-box;
}

.asp-portal .asp-form input[type="text"]:focus,
.asp-portal .asp-form input[type="email"]:focus,
.asp-portal .asp-form input[type="password"]:focus,
.asp-portal .asp-form input[type="url"]:focus,
.asp-portal .asp-form input[type="date"]:focus,
.asp-portal .asp-form select:focus,
.asp-portal .asp-form textarea:focus {
    outline: none;
    border-color: var(--asp-brand-accent);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.asp-portal .asp-help {
    font-size: 12px;
    color: #475569;
}

.asp-portal .asp-message-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--asp-accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.asp-portal .asp-message-button {
    position: relative;
}

.asp-portal .asp-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
