:root {
    --ms-bg-page: #f5f7fa;
    --ms-bg-card: #FFFFFF;
    --ms-text-primary: #1A1D21;
    --ms-text-secondary: #6B7280;
    --ms-text-muted: #9CA3AF;
    --ms-border: #E5E7EB;
    --ms-border-light: #F3F4F6;
    --ms-success: #10b981;
    --ms-success-bg: #ECFDF5;
    --ms-danger: #EF4444;
    --ms-danger-bg: #FEF2F2;
    --ms-warning: #F59E0B;
    --ms-warning-bg: #FFFBEB;
    --ms-radius-sm: 6px;
    --ms-radius: 10px;
    --ms-radius-lg: 12px;
    --ms-radius-xl: 16px;
    --ms-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --ms-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --ms-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
    --ms-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.04);
    --ms-transition: 150ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ms-text-primary);
    font-size: 0.9375rem;
    background-color: var(--ms-bg-page);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-wrapper {
    background-color: var(--ms-bg-page);
    flex: 1;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--bs-primary);
    transition: color var(--ms-transition);
}

a:not(.btn):hover, a:not(.btn):active, a:not(.btn):focus {
    color: var(--ms-primary-dark) !important;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    border-radius: var(--ms-radius) !important;
    font-weight: 500;
    padding: 10px 24px;
    transition: all var(--ms-transition);
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary.active, .btn-primary.show {
    background-color: var(--ms-primary-dark) !important;
    border-color: var(--ms-primary-dark) !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    border-radius: var(--ms-radius) !important;
    font-weight: 500;
    padding: 10px 24px;
    transition: all var(--ms-transition);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.btn-success {
    border-radius: var(--ms-radius) !important;
    font-weight: 500;
    padding: 10px 24px;
}

.btn-danger {
    border-radius: var(--ms-radius) !important;
}

.btn-outline-danger {
    border-radius: var(--ms-radius) !important;
    transition: all var(--ms-transition);
}

.text-primary {
    color: var(--bs-primary) !important;
}

.form-control {
    border-radius: var(--ms-radius) !important;
    border-color: var(--ms-border) !important;
    padding: 10px 14px;
    transition: all var(--ms-transition);
}

.form-control:focus {
    border-color: var(--bs-primary) !important;
}

.form-control[readonly] {
    background-color: var(--ms-border-light);
    color: var(--ms-text-secondary);
    cursor: not-allowed;
}

.form-select {
    border-radius: var(--ms-radius) !important;
    border-color: var(--ms-border) !important;
    padding: 10px 14px;
    transition: all var(--ms-transition);
}

.form-select:focus {
    border-color: var(--bs-primary) !important;
}

.form-check-input:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.ms-header {
    background: linear-gradient(135deg, var(--ms-primary, #1a4b8c), var(--ms-primary-dark, #0d2b5e));
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0;
}

.ms-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.ms-header-logo img {
    height: 36px;
    width: auto;
}

.ms-header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ms-header-nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--ms-radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--ms-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ms-header-nav a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.ms-header-nav a.active {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
}

.ms-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ms-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.ms-header-logout {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--ms-radius);
    transition: all var(--ms-transition);
}

.ms-header-logout:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.ms-header-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    padding: 8px;
    cursor: pointer;
}

.ms-card {
    background: var(--ms-bg-card);
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-xl);
    box-shadow: var(--ms-shadow-sm);
    padding: 24px;
}

.ms-card-hover {
    transition: all var(--ms-transition);
    cursor: pointer;
}

.ms-card-hover:hover {
    box-shadow: var(--ms-shadow-md);
    transform: translateY(-2px);
}

.ms-page-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ms-text-primary);
    margin-bottom: 4px;
}

.ms-page-subtitle {
    font-size: 0.875rem;
    color: var(--ms-text-muted);
    margin-bottom: 0;
}

.ms-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ms-text-primary);
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--ms-primary-light, rgba(26,75,140,0.08));
}

.ms-content {
    padding: 24px 0;
}

.ms-stat-card {
    background: var(--ms-bg-card);
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-xl);
    padding: 20px;
    text-align: center;
    transition: all var(--ms-transition);
}

.ms-stat-card:hover {
    box-shadow: var(--ms-shadow-md);
    transform: translateY(-2px);
}

.ms-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.ms-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ms-text-primary);
    display: block;
}

.ms-stat-label {
    font-size: 0.8125rem;
    color: var(--ms-text-muted);
    margin-top: 4px;
}

.ms-welcome {
    background: linear-gradient(135deg, var(--ms-primary, #1a4b8c), var(--ms-primary-dark, #0d2b5e));
    border-radius: var(--ms-radius-xl);
    padding: 24px 32px;
    color: #fff;
    margin-bottom: 24px;
}

.ms-welcome h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ms-welcome p {
    font-size: 0.9375rem;
    opacity: 0.85;
    margin: 0;
}

.ms-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--ms-border);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ms-tab {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ms-text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--ms-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ms-tab:hover {
    color: var(--bs-primary) !important;
}

.ms-tab.active {
    color: var(--bs-primary) !important;
    border-bottom-color: var(--bs-primary);
}

.ms-tab-badge {
    background: var(--ms-bg-page);
    color: var(--ms-text-secondary);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.ms-tab.active .ms-tab-badge {
    background: var(--ms-primary-light, rgba(26,75,140,0.08));
    color: var(--bs-primary);
}

.ms-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ms-badge-success {
    background: var(--ms-success-bg);
    color: var(--ms-success);
}

.ms-badge-warning {
    background: var(--ms-warning-bg);
    color: var(--ms-warning);
}

.ms-badge-danger {
    background: var(--ms-danger-bg);
    color: var(--ms-danger);
}

.ms-badge-primary {
    background: var(--ms-primary-light, rgba(26,75,140,0.08));
    color: var(--bs-primary);
}

.ms-boleto-card {
    background: var(--ms-bg-card);
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-xl);
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: all var(--ms-transition);
}

.ms-boleto-card:hover {
    box-shadow: var(--ms-shadow-md);
}

.ms-boleto-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ms-boleto-number {
    font-weight: 600;
    color: var(--ms-text-primary);
    font-size: 0.9375rem;
}

.ms-boleto-date {
    font-size: 0.8125rem;
    color: var(--ms-text-muted);
    margin-top: 2px;
}

.ms-boleto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ms-border-light);
}

.ms-boleto-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ms-text-primary);
}

.ms-boleto-parcela {
    font-size: 0.8125rem;
    color: var(--ms-text-muted);
}

.ms-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    gap: 16px;
    border-bottom: 1px solid var(--ms-border-light);
}

.ms-info-row:last-child {
    border-bottom: none;
}

.ms-info-label {
    color: var(--ms-text-secondary);
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.ms-info-value {
    text-align: right;
    color: var(--ms-text-primary);
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.ms-info-total {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 2px solid var(--ms-border);
}

.ms-info-total .ms-info-label,
.ms-info-total .ms-info-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bs-primary);
}

.ms-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ms-table thead th {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ms-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 2px solid var(--ms-border);
    white-space: nowrap;
}

.ms-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ms-border-light);
    font-size: 0.9375rem;
    color: var(--ms-text-primary);
    vertical-align: middle;
}

.ms-table tbody tr:hover {
    background: var(--ms-primary-lighter, rgba(26,75,140,0.02));
}

.ms-table tbody tr:last-child td {
    border-bottom: none;
}

.ms-auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ms-bg-page);
    padding: 24px;
}

.ms-auth-card {
    background: var(--ms-bg-card);
    border-radius: var(--ms-radius-xl);
    box-shadow: var(--ms-shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px 32px;
}

.ms-auth-card-wide {
    max-width: 720px;
}

.ms-auth-logo {
    display: block;
    margin: 0 auto 32px;
    height: 40px;
    width: auto;
}

.ms-auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--ms-text-primary);
    margin-bottom: 8px;
}

.ms-auth-subtitle {
    font-size: 0.875rem;
    text-align: center;
    color: var(--ms-text-muted);
    margin-bottom: 24px;
}

.ms-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--ms-text-muted);
    font-size: 0.8125rem;
}

.ms-auth-divider::before,
.ms-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ms-border);
}

.ms-input-icon {
    position: relative;
}

.ms-input-icon .form-control {
    padding-left: 42px;
}

.ms-input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ms-text-muted);
    font-size: 0.9375rem;
}

.ms-wizard-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
}

.ms-wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-wizard-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--ms-border-light);
    color: var(--ms-text-muted);
    transition: all 0.3s ease;
}

.ms-wizard-step.active .ms-wizard-step-number {
    background: var(--bs-primary);
    color: #fff;
}

.ms-wizard-step.completed .ms-wizard-step-number {
    background: var(--ms-success);
    color: #fff;
}

.ms-wizard-step-label {
    font-size: 0.8125rem;
    color: var(--ms-text-muted);
    display: none;
}

.ms-wizard-step.active .ms-wizard-step-label {
    color: var(--bs-primary);
    font-weight: 500;
}

.ms-wizard-line {
    width: 40px;
    height: 2px;
    background: var(--ms-border);
    margin: 0 8px;
}

.ms-wizard-line.completed {
    background: var(--ms-success);
}

.ms-wizard-panel {
    display: none;
}

.ms-wizard-panel.active {
    display: block;
}

.ms-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ms-success-bg);
    color: var(--ms-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
}

.ms-receipt {
    background: var(--ms-bg-card);
    border-radius: var(--ms-radius-xl);
    box-shadow: var(--ms-shadow-lg);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.ms-receipt-header {
    background: linear-gradient(135deg, var(--ms-primary, #1a4b8c), var(--ms-primary-dark, #0d2b5e));
    color: #fff;
    padding: 24px;
    text-align: center;
}

.ms-receipt-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.ms-receipt-body {
    padding: 24px;
}

.ms-receipt-status {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--ms-border);
}

.ms-accordion {
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-xl);
    overflow: hidden;
}

.ms-accordion-item {
    border-bottom: 1px solid var(--ms-border-light);
}

.ms-accordion-item:last-child {
    border-bottom: none;
}

.ms-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ms-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--ms-transition);
}

.ms-accordion-btn:hover {
    background: var(--ms-bg-page);
}

.ms-accordion-btn i {
    transition: transform 0.3s ease;
    color: var(--ms-text-muted);
}

.ms-accordion-btn:not(.collapsed) i {
    transform: rotate(180deg);
}

.ms-accordion-body {
    padding: 0 20px 16px;
    font-size: 0.875rem;
    color: var(--ms-text-secondary);
    line-height: 1.6;
}

.ms-contact-card {
    background: var(--ms-bg-card);
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-xl);
    padding: 24px;
    text-align: center;
    transition: all var(--ms-transition);
}

.ms-contact-card:hover {
    box-shadow: var(--ms-shadow-md);
    transform: translateY(-2px);
}

.ms-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.ms-contact-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ms-text-primary);
    margin-bottom: 4px;
}

.ms-contact-text {
    font-size: 0.875rem;
    color: var(--ms-text-secondary);
    margin-bottom: 12px;
}

.ms-alert-banner {
    border-radius: var(--ms-radius-xl);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ms-alert-banner-warning {
    background: var(--ms-warning-bg);
    border: 1px solid rgba(245,158,11,0.2);
    color: #92400e;
}

.ms-alert-banner-success {
    background: var(--ms-success-bg);
    border: 1px solid rgba(16,185,129,0.2);
    color: #065f46;
}

.ms-alert-banner i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ms-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ms-timeline-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ms-border-light);
}

.ms-timeline-item:last-child {
    border-bottom: none;
}

.ms-timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.ms-timeline-content {
    flex: 1;
    min-width: 0;
}

.ms-timeline-title {
    font-weight: 500;
    color: var(--ms-text-primary);
    font-size: 0.875rem;
}

.ms-timeline-desc {
    font-size: 0.8125rem;
    color: var(--ms-text-muted);
    margin-top: 2px;
}

.ms-timeline-value {
    font-weight: 600;
    color: var(--ms-text-primary);
    white-space: nowrap;
}

.ms-quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-lg);
    text-decoration: none;
    color: var(--ms-text-primary);
    transition: all var(--ms-transition);
    margin-bottom: 8px;
}

.ms-quick-action:hover {
    border-color: var(--bs-primary);
    background: var(--ms-primary-light, rgba(26,75,140,0.04));
    color: var(--bs-primary) !important;
}

.ms-quick-action i {
    font-size: 1.125rem;
    color: var(--bs-primary);
    width: 24px;
    text-align: center;
}

.ms-quick-action span {
    font-weight: 500;
    font-size: 0.875rem;
}

.ms-danger-zone {
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--ms-radius-xl);
    padding: 20px;
    margin-top: 32px;
    background: rgba(239, 68, 68, 0.02);
}

.ms-danger-zone h6 {
    color: var(--ms-danger);
    font-weight: 600;
    margin-bottom: 4px;
}

.ms-danger-zone p {
    color: var(--ms-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.ms-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--ms-text-muted);
}

.ms-empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.ms-empty-state p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.button-submit {
    min-width: 200px;
    border-radius: var(--ms-radius) !important;
}

.ms-footer {
    background: var(--ms-bg-card);
    border-top: 1px solid var(--ms-border);
    padding: 20px 0;
}

.ms-footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ms-footer-text {
    font-size: 0.8125rem;
    color: var(--ms-text-muted);
    margin: 0;
}

.ms-footer-text a {
    color: var(--ms-text-secondary);
    text-decoration: none;
}

.ms-footer-text a:hover {
    color: var(--bs-primary) !important;
}

.ms-footer-links {
    display: flex;
    gap: 24px;
}

.ms-footer-links a {
    font-size: 0.8125rem;
    color: var(--ms-text-secondary);
    text-decoration: none;
    transition: color var(--ms-transition);
}

.ms-footer-links a:hover {
    color: var(--bs-primary) !important;
}

.pagination .page-item .page-link {
    border-radius: var(--ms-radius) !important;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.modal-content {
    border-radius: var(--ms-radius-xl) !important;
    border: none;
    box-shadow: var(--ms-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--ms-border-light);
    padding: 20px 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--ms-border-light);
    padding: 16px 24px;
}

.ms-summary-sticky {
    position: sticky;
    top: 88px;
}

.ms-help-banner {
    background: linear-gradient(135deg, var(--ms-primary, #1a4b8c), var(--ms-primary-dark, #0d2b5e));
    border-radius: var(--ms-radius-xl);
    padding: 32px;
    color: #fff;
    text-align: center;
}

.ms-help-banner h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.ms-help-banner p {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .ms-wizard-step-label {
        display: inline;
    }
}

@media (max-width: 991px) {
    .ms-header-nav {
        display: none;
    }

    .ms-header-toggle {
        display: block;
    }

    .ms-header-nav-mobile {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--ms-primary, #1a4b8c), var(--ms-primary-dark, #0d2b5e));
        padding: 8px 0;
        z-index: 1029;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .ms-header-nav-mobile a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 24px;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-size: 0.9375rem;
    }

    .ms-header-nav-mobile a:hover,
    .ms-header-nav-mobile a.active {
        color: #fff !important;
        background: rgba(255,255,255,0.1);
    }

    .ms-card {
        padding: 16px;
    }

    .ms-auth-card {
        padding: 32px 20px;
    }
}

@media (max-width: 575px) {
    .ms-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .ms-auth-card {
        padding: 24px 16px;
    }

    .ms-stat-card {
        padding: 16px;
    }

    .ms-welcome {
        padding: 20px;
    }
}