* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.help-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 6px;
    position: relative;
    user-select: none;
    vertical-align: middle;
    flex-shrink: 0;
}

.help-icon:hover {
    background: #0052a3;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.help-tooltip {
    display: none !important;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.help-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.help-icon.active .help-tooltip {
    display: block !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #22c55e 0%, #ffffff 100%);
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.login-box h1 {
    color: #16a34a;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
}

.multi-entry-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background: #fff;
    transition: border-color 0.3s;
}

.multi-entry-container:focus-within {
    border-color: #22c55e;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 10px;
}

.tags-container:empty {
    margin-bottom: 0;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    gap: 8px;
    border: 1px solid #c8e6c9;
}

.tag-item .tag-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-remove {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.tag-remove:hover {
    background: #c62828;
    color: white;
}

.multi-entry-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.multi-entry-input-row input {
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.95rem;
}

.multi-entry-input-row input:focus {
    outline: none;
    border-color: #22c55e;
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.error-message {
    color: #e74c3c;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.test-credentials {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.test-credentials h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.test-credentials ul {
    list-style: none;
    font-size: 0.85rem;
}

.test-credentials li {
    padding: 0.25rem 0;
    color: #666;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #16a34a;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #16a34a;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card.clickable {
    cursor: pointer !important;
}

.stat-card.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
    border: 2px solid #22c55e;
    cursor: pointer !important;
}

.stat-card.clickable:focus {
    outline: 3px solid #22c55e;
    outline-offset: 2px;
}

.stat-card.clickable:active {
    transform: translateY(-3px);
}

.stat-card h3 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    pointer-events: none;
}

.stat-action {
    color: #16a34a;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card.clickable:hover .stat-action {
    opacity: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #16a34a;
    pointer-events: none;
}

.approval-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fff7ed 0%, #ffe4cc 100%);
    border-left: 4px solid #f97316;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    gap: 1rem;
}

.btn-manage-pending {
    background: #f97316;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-manage-pending:hover {
    background: #ea580c;
}

.approval-bar.vendor-approval {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    margin-top: 10px;
}

.approval-bar .approval-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.approval-bar .approval-icon {
    font-size: 1.2rem;
}

.btn-manage-pending.vendor-btn {
    background: #3b82f6;
}

.btn-manage-pending.vendor-btn:hover {
    background: #2563eb;
}

.section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.section h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.filters {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.vendors-list {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.vendor-card {
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s;
}

.vendor-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.vendor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.vendor-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-draft { background: #f0f0f0; color: #666; }
.badge-submitted { background: #fff3cd; color: #856404; }
.badge-in_review { background: #d1ecf1; color: #0c5460; }
.badge-approved { background: #d4edda; color: #155724; }
.badge-rejected { background: #f8d7da; color: #721c24; }
.badge-active { background: #28a745; color: #fff; }
.badge-inactive { background: #6c757d; color: #fff; }
.badge-expired { background: #dc3545; color: #fff; font-weight: 600; }

.phi-badge {
    background: #fff3cd;
    color: #856404;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pii-badge {
    background: #d1ecf1;
    color: #0c5460;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pifi-badge {
    background: #f8d7da;
    color: #721c24;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.vendor_assessment-badge {
    background: #e7f3ff;
    color: #004085;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.alert-expired {
    color: #721c24;
    background: #f8d7da;
    padding: 8px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 10px;
}

.alert-30 {
    color: #721c24;
    background: #f8d7da;
    padding: 8px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 10px;
}

.alert-60 {
    color: #856404;
    background: #fff3cd;
    padding: 8px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 10px;
}

.alert-90 {
    color: #856404;
    background: #fff8dc;
    padding: 8px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 10px;
}

.badge-inactive {
    background: #6c757d;
    color: #fff;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.duplicate-warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.duplicate-warning .warning-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #92400e;
}

.duplicate-warning .warning-icon {
    font-size: 18px;
}

.duplicate-warning ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.duplicate-warning li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.duplicate-warning p {
    margin: 0;
    color: #92400e;
    font-size: 14px;
}

.potential-duplicates-section {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.potential-duplicates-section h3 {
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.potential-duplicates-section .duplicate-item {
    background: white;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
    border-left: 4px solid #f59e0b;
}

.potential-duplicates-section .duplicate-item:last-child {
    margin-bottom: 0;
}

.potential-duplicates-section .match-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.match-type-exact_name {
    background: #dc2626;
    color: white;
}

.match-type-similar_name {
    background: #f59e0b;
    color: white;
}

.match-type-website_match {
    background: #3b82f6;
    color: white;
}

.match-type-dba_match {
    background: #8b5cf6;
    color: white;
}

.match-type-name_dba_match {
    background: #ec4899;
    color: white;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.report-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.report-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333;
}

.report-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.report-content {
    margin: 1rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.report-table th {
    background: #f5f5f5;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.report-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.report-table tr:hover {
    background: #f9f9f9;
}

.risk-summary,
.status-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-align: center;
}

.risk-metric,
.status-metric {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.metric-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.loading {
    color: #999;
    font-style: italic;
}

.risk-chart {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    align-items: flex-end;
    min-height: 300px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.risk-bar {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.risk-bar-fill {
    width: 100%;
    min-height: 80px;
    background: linear-gradient(to top, #22c55e, #16a34a);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    padding-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.risk-bar-fill:hover {
    transform: scale(1.05);
}

.risk-bar-fill.low-risk {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.risk-bar-fill.medium-risk {
    background: linear-gradient(135deg, #ecc94b, #d69e2e);
}

.risk-bar-fill.high-risk {
    background: linear-gradient(135deg, #f56565, #e53e3e);
}

.risk-bar-fill.critical-risk {
    background: linear-gradient(135deg, #9b2c2c, #742a2a);
}

.risk-label {
    margin-top: 1rem;
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

.vendor-card:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.vendor-detail-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.documents-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.documents-table th,
.documents-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.documents-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.documents-table tr:hover {
    background: #f9f9f9;
}

.btn-small {
    padding: 5px 12px;
    font-size: 13px;
    margin-right: 5px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-small:hover {
    background: #16a34a;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-merge {
    background: #6366f1;
    color: white;
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-merge:hover {
    background: #4f46e5;
}

.badge-baa { background: #d4edda; color: #155724; }
.badge-msa { background: #d1ecf1; color: #0c5460; }
.badge-sow { background: #fff3cd; color: #856404; }
.badge-w9 { background: #f8d7da; color: #721c24; }
.badge-insurance { background: #cfe2ff; color: #084298; }
.badge-soc2 { background: #d1e7dd; color: #0f5132; }
.badge-other { background: #e2e3e5; color: #383d41; }
.filter-active { background: #22c55e; color: white; padding: 0.75rem 1.5rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 600; display: inline-block; }

.vendor-logo-container {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    margin-right: 1rem;
    flex-shrink: 0;
}

.vendor-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.vendor-logo-initials {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.vendor-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e0e0e0;
    margin-bottom: 1rem;
}

.vendor-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vendor-logo-initials-large {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-weight: 700;
    font-size: 48px;
}

.vendor-card-with-logo {
    display: flex;
    align-items: flex-start;
}

.vendor-card-content {
    flex: 1;
}

/* Vendor Card Expiration Highlighting */
.vendor-card-good {
    border-left: 5px solid #22c55e;
}

.vendor-card-caution {
    border-left: 5px solid #eab308;
    background: linear-gradient(90deg, #fef9c3 0%, white 15%);
}

.vendor-card-warning {
    border-left: 5px solid #f97316;
    background: linear-gradient(90deg, #fed7aa 0%, white 15%);
}

.vendor-card-critical {
    border-left: 5px solid #dc2626;
    background: linear-gradient(90deg, #fecaca 0%, white 15%);
}

.vendor-card-expired {
    border-left: 5px solid #7f1d1d;
    background: linear-gradient(90deg, #fca5a5 0%, white 15%);
}

/* Expiration Badge Styles */
.expiration-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 8px;
}

.expiration-expired {
    background: #7f1d1d;
    color: white;
}

.expiration-critical {
    background: #dc2626;
    color: white;
}

.expiration-warning {
    background: #f97316;
    color: white;
}

.expiration-caution {
    background: #eab308;
    color: #1a1a1a;
}

.expiration-none {
    background: #e5e5e5;
    color: #666;
    font-weight: normal;
}

.logo-refresh-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-refresh-logo {
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-refresh-logo:hover {
    background: #5a6268;
}

.btn-refresh-logo:disabled {
    background: #d0d0d0;
    cursor: not-allowed;
}

.vendor-header-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.vendor-header-row .logo-refresh-container {
    margin-bottom: 0;
}

.document-age-summary {
    flex: 1;
    min-width: 280px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
}

.document-age-summary h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aggregate-score-card {
    min-width: 200px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
}

.aggregate-score-card h4 {
    margin: 0 0 12px 0;
    font-size: 12px;
    color: #166534;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aggregate-score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.aggregate-grade-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.aggregate-score-value {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.aggregate-score-label {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.aggregate-score-count {
    font-size: 11px;
    color: #9ca3af;
    margin: 4px 0 0 0;
}

.aggregate-no-data {
    color: #9ca3af;
    font-size: 13px;
    font-style: italic;
}

.document-age-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.document-age-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.document-age-item .doc-type {
    font-weight: 600;
}

.document-age-item .doc-age {
    color: inherit;
    opacity: 0.85;
}

.doc-age-good {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.doc-age-caution {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.doc-age-warning {
    background: #ffedd5;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.doc-age-expired {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.no-documents-text {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

.loading-text {
    color: #94a3b8;
    font-size: 13px;
}

/* Software/Applications Page - Compact List View */
.app-section {
    margin-bottom: 2.5rem;
}

.app-section-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e0e0e0;
}

.app-vendors-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Horizontal List Item */
.app-list-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-list-item:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
    background: #f8f9fa;
}

.list-logo {
    flex-shrink: 0;
}

.list-logo .vendor-logo-initials {
    width: 48px;
    height: 48px;
    font-size: 18px;
    line-height: 48px;
}

.list-logo .vendor-logo-container img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.list-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.list-main {
    min-width: 200px;
}

.list-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.list-vendor {
    font-size: 0.875rem;
    color: #6c757d;
}

.list-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.list-criticality {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.criticality-low {
    background: #d4edda;
    color: #155724;
}

.criticality-medium {
    background: #fff3cd;
    color: #856404;
}

.criticality-high {
    background: #f8d7da;
    color: #721c24;
}

.criticality-critical {
    background: #dc3545;
    color: white;
}

.list-status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-expired {
    background: #dc3545;
    color: white;
}

.status-urgent {
    background: #fd7e14;
    color: white;
}

.status-warning {
    background: #ffc107;
    color: #333;
}

.status-ok {
    background: #28a745;
    color: white;
}

.status-none {
    background: #6c757d;
    color: white;
}

.list-details .phi-badge,
.list-details .pii-badge,
.list-details .pifi-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .app-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .list-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .list-details {
        width: 100%;
    }
}

/* Risk Severity Badges */
.risk-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.risk-very-low {
    background: #0d5c2f;
    color: white;
}

.risk-low {
    background: #28a745;
    color: white;
}

.risk-moderate {
    background: #ffc107;
    color: #333;
}

.risk-high {
    background: #dc3545;
    color: white;
}

/* Threat/Impact Level Badges */
.level-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #e9ecef;
    color: #495057;
    margin-right: 5px;
}

/* ============================================
   AI Compliance Analysis Styles
   ============================================ */

/* Analyze Button */
.btn-analyze {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.btn-analyze:hover {
    background: #6d28d9;
}

/* Score Badges */
.score-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.score-excellent {
    background: #0d5c2f;
    color: white;
}

.score-good {
    background: #28a745;
    color: white;
}

.score-moderate {
    background: #ffc107;
    color: #333;
}

.score-poor {
    background: #fd7e14;
    color: white;
}

.score-critical {
    background: #dc3545;
    color: white;
}

/* Analysis Status Badges */
.badge-pending {
    background: #6c757d;
    color: white;
}

.badge-processing {
    background: #17a2b8;
    color: white;
    animation: pulse 1.5s infinite;
}

.badge-completed {
    background: #28a745;
    color: white;
}

.badge-failed {
    background: #dc3545;
    color: white;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.loading-indicator {
    color: #17a2b8;
    font-style: italic;
}

.error-text {
    color: #dc3545;
    cursor: help;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    z-index: 10000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.analysis-report-modal {
    max-width: 1000px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.modal-close:hover {
    color: #1f2937;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* Report Sections */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.report-meta p {
    margin: 5px 0;
    color: #4b5563;
}

.score-cards {
    display: flex;
    gap: 15px;
}

.score-card {
    text-align: center;
    padding: 15px 25px;
    background: #f3f4f6;
    border-radius: 8px;
    min-width: 100px;
}

.score-card h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #6b7280;
    text-transform: uppercase;
}

.report-summary {
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f9ff;
    border-left: 4px solid #0284c7;
    border-radius: 0 8px 8px 0;
}

.report-summary h3 {
    margin: 0 0 12px 0;
    color: #0c4a6e;
}

.report-summary p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

.report-findings h3,
.report-recommendations h3 {
    margin: 0 0 20px 0;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

/* Findings Sections */
.findings-section {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
}

.findings-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
}

.findings-critical {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
}

.findings-critical h4 { color: #dc2626; }

.findings-high {
    background: #fff7ed;
    border-left: 4px solid #ea580c;
}

.findings-high h4 { color: #ea580c; }

.findings-medium {
    background: #fffbeb;
    border-left: 4px solid #d97706;
}

.findings-medium h4 { color: #d97706; }

.findings-low {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
}

.findings-low h4 { color: #16a34a; }

.findings-info {
    background: #f0f9ff;
    border-left: 4px solid #0284c7;
}

.findings-info h4 { color: #0284c7; }

/* Finding Cards */
.finding-card {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.finding-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.finding-id {
    font-family: monospace;
    font-size: 12px;
    color: #6b7280;
}

.finding-card h5 {
    margin: 0 0 8px 0;
    color: #1f2937;
}

.finding-citation {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.finding-evidence {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 8px;
}

.finding-regulation {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
}

.finding-regulation strong {
    color: #1e40af;
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
}

.finding-regulation p {
    color: #1e3a8a;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.finding-failure {
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
}

.finding-failure strong {
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
}

.finding-failure p {
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.failure-highlight {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.failure-highlight strong {
    color: #991b1b;
}

.failure-highlight p {
    color: #7f1d1d;
}

.success-highlight {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.success-highlight strong {
    color: #166534;
}

.success-highlight p {
    color: #14532d;
}

.finding-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.status-compliant { background: #dcfce7; color: #166534; }
.status-non_compliant { background: #fee2e2; color: #991b1b; }
.status-partial { background: #fef3c7; color: #92400e; }
.status-unclear { background: #e5e7eb; color: #374151; }

/* Recommendation Cards */
.recommendation-card {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #9ca3af;
}

.priority-high { border-left-color: #dc2626; }
.priority-medium { border-left-color: #d97706; }
.priority-low { border-left-color: #16a34a; }

.recommendation-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.rec-id {
    font-family: monospace;
    font-size: 12px;
    color: #6b7280;
}

.rec-related {
    font-size: 12px;
    color: #6b7280;
}

.recommendation-card h5 {
    margin: 0 0 8px 0;
    color: #1f2937;
}

.rec-timeline {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

.badge-priority-high { background: #fee2e2; color: #991b1b; }
.badge-priority-medium { background: #fef3c7; color: #92400e; }
.badge-priority-low { background: #dcfce7; color: #166534; }

.badge-hipaa { background: #dbeafe; color: #1e40af; }
.badge-nist { background: #ede9fe; color: #5b21b6; }
.badge-nydfs { background: #fed7aa; color: #c2410c; }
.badge-general { background: #e5e7eb; color: #374151; }

/* Print Styles for Reports */
@media print {
    .modal-overlay {
        position: static;
        background: white;
        padding: 0;
    }
    
    .modal-content {
        box-shadow: none;
        max-height: none;
    }
    
    .modal-footer {
        display: none;
    }
    
    .modal-close {
        display: none;
    }
}

/* ============================================
   GRAPHIC ENHANCEMENTS - December 2025
   ============================================ */

/* Enhanced Navigation with Icons */
.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('/static/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(22, 163, 74, 0.1);
}

.nav-menu a.active {
    background: rgba(22, 163, 74, 0.15);
    font-weight: 600;
}

.nav-menu a[href="dashboard.html"]::before { content: "📊"; }
.nav-menu a[href="vendors.html"]::before { content: "🏢"; }
.nav-menu a[href="software.html"]::before { content: "💻"; }
.nav-menu a[href="reports.html"]::before { content: "📈"; }
.nav-menu a[href="notifications.html"]::before { content: "🔔"; }
.nav-menu a[href="admin-users.html"]::before { content: "👥"; }
.nav-menu a[href="security-dashboard.html"]::before { content: "🛡️"; }
.nav-menu a[href="profile.html"]::before { content: "⚙️"; }
.nav-menu a[onclick*="logout"]::before { content: "🚪"; }

/* Enhanced Stat Cards */
.stat-card {
    position: relative;
    overflow: hidden;
    border-left: 4px solid #22c55e;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
}

.stat-card:nth-child(1) { border-left-color: #22c55e; }
.stat-card:nth-child(2) { border-left-color: #f59e0b; }
.stat-card:nth-child(3) { border-left-color: #ef4444; }
.stat-card:nth-child(4) { border-left-color: #3b82f6; }

.stat-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 100%); }
.stat-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, transparent 100%); }
.stat-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%); }
.stat-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%); }

.stat-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-card:nth-child(1) h3::before { content: "🏢"; }
.stat-card:nth-child(2) h3::before { content: "🔒"; }
.stat-card:nth-child(3) h3::before { content: "⏰"; }
.stat-card:nth-child(4) h3::before { content: "📋"; }

/* Enhanced Section Headers */
.section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.section h2::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #22c55e 0%, transparent 100%);
    margin-left: 15px;
}

/* Enhanced Tables */
.documents-table,
.report-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.documents-table th,
.report-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #64748b;
}

.documents-table tr:nth-child(even),
.report-table tr:nth-child(even) {
    background: #fafbfc;
}

.documents-table tr,
.report-table tr {
    transition: all 0.15s ease;
}

.documents-table tr:hover,
.report-table tr:hover {
    background: #f0fdf4 !important;
    transform: scale(1.002);
}

/* Enhanced Activity List */
.activity-list {
    position: relative;
    padding-left: 30px;
}

.activity-list::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #22c55e 0%, #e5e7eb 100%);
    border-radius: 1px;
}

.activity-item {
    position: relative;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.activity-item::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 18px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #22c55e;
}

.activity-item:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    transform: translateX(5px);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Enhanced Form Inputs */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    transform: translateY(-1px);
}

.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.2s ease;
}

.form-group label {
    transition: color 0.2s ease;
}

.form-group:focus-within label {
    color: #16a34a;
}

/* Enhanced Buttons */
.btn-primary {
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-small {
    transition: all 0.2s ease;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Enhanced Vendor Cards */
.vendor-card {
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
}

.vendor-card:hover {
    border-color: #22c55e;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Enhanced Badges */
.badge {
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.badge:hover {
    transform: scale(1.05);
}

/* Page Title Enhancement */
h1 {
    position: relative;
    display: inline-block;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 2px;
}

/* Container Enhancement */
.container {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Enhancement */
.section {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.section:hover {
    border-color: #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Risk Chart Enhancement */
.risk-chart {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.risk-bar-fill {
    position: relative;
    overflow: hidden;
}

.risk-bar-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: sheen 3s infinite;
}

@keyframes sheen {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Search Bar */
.search-bar input {
    transition: all 0.2s ease;
}

.search-bar input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Enhanced Filter Dropdowns */
.filters select {
    transition: all 0.2s ease;
    cursor: pointer;
}

.filters select:hover {
    border-color: #22c55e;
}

.filters select:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selection Color */
::selection {
    background: rgba(34, 197, 94, 0.3);
    color: #166534;
}

/* Enhanced Modal Transitions */
.modal-overlay {
    animation: fadeInModal 0.2s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enhanced Approval Bar */
.approval-bar {
    animation: slideIn 0.4s ease;
    position: relative;
    overflow: hidden;
}

.approval-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    animation: pulseBar 2s infinite;
}

@keyframes pulseBar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Tooltip Enhancement */
.help-tooltip {
    animation: tooltipFade 0.2s ease;
}

@keyframes tooltipFade {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Page Header Enhancement */
.page-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin-bottom: 0;
}

.page-header .btn-primary {
    white-space: nowrap;
}
