/**
 * Website Development - Unified Styles
 * Clean White Professional Theme
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #004499;
}

/* Layout */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    background: #ffffff;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header h1 {
    font-size: 1.25rem;
    color: #333333;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    color: #666666;
    font-size: 0.9rem;
}

.user-info strong {
    color: #333333;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.page-header h2 {
    font-size: 1.5rem;
    color: #333333;
    font-weight: 600;
}

/* Login & Landing Pages */
.login-page,
.landing-page,
.dashboard-page {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container,
.landing-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.login-box h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    text-align: center;
}

.login-box .subtitle {
    color: #666666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.login-footer a {
    color: #666666;
    font-size: 0.9rem;
}

.login-footer a:hover {
    color: #0066cc;
}

/* Landing Page */
.landing-container {
    text-align: center;
    max-width: 500px;
}

.landing-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333333;
    font-weight: 600;
}

.landing-container p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
}

.landing-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.card-header h3 {
    font-size: 1.1rem;
    color: #333333;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

.card-danger {
    border-color: #f5c6cb;
}

.card-danger .card-header {
    background: #fff5f5;
    border-color: #f5c6cb;
}

.card-danger .card-header h3 {
    color: #dc3545;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333333;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 1rem;
    background: #ffffff;
    color: #333333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input:disabled {
    background: #f5f5f5;
    color: #999999;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #666666;
    font-size: 0.8rem;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Input Group */
.input-group {
    display: flex;
    align-items: center;
}

.input-group input {
    border-radius: 0;
    flex: 1;
}

.input-prefix,
.input-suffix {
    padding: 12px 16px;
    background: #f5f5f5;
    border: 1px solid #d0d0d0;
    color: #666666;
    font-family: monospace;
    white-space: nowrap;
}

.input-prefix {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.input-suffix {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0055aa;
    color: #ffffff;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-danger {
    background: #dc3545;
    color: #ffffff;
}

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

.btn-outline {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-outline:hover {
    background: #0066cc;
    color: #ffffff;
}

.btn-block {
    display: block;
    width: 100%;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

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

.table th {
    background: #f8f9fa;
    color: #333333;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    color: #333333;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.cell-subtext {
    font-size: 0.8rem;
    color: #888888;
    margin-top: 2px;
}

.results-info {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 12px;
}

.table code {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #333333;
}

/* Details Table */
.details-table {
    width: 100%;
}

.details-table th,
.details-table td {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.details-table th {
    text-align: left;
    color: #666666;
    font-weight: 500;
    width: 150px;
}

.details-table td code {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333333;
}

/* Credentials Box */
.credentials-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.credentials-box h4 {
    color: #333333;
    margin-bottom: 16px;
    font-size: 1rem;
}

.credentials-table {
    width: 100%;
}

.credentials-table th,
.credentials-table td {
    padding: 10px 0;
}

.credentials-table th {
    text-align: left;
    color: #666666;
    font-weight: 500;
    width: 120px;
}

.credentials-table td code {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333333;
    display: inline-block;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-error {
    background: #f8d7da;
    color: #721c24;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background: #fff5f5;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #f0fff4;
    color: #28a745;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background: #fffbeb;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #f0f7ff;
    color: #0066cc;
    border: 1px solid #b8daff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

.empty-state p {
    color: #666666;
    font-size: 1.1rem;
}

.empty-state a {
    color: #0066cc;
}

/* Dashboard Specific */
.dashboard-container {
    max-width: 800px;
    width: 100%;
}

.dashboard-header {
    max-width: 800px;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dashboard-header h1 {
    color: #333333;
    font-size: 1.25rem;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dashboard-card h2 {
    color: #333333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.dashboard-card p {
    color: #666666;
    margin-bottom: 20px;
}

.site-preview {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.preview-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #0066cc;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.preview-btn:hover {
    background: #0055aa;
    color: #ffffff;
}

.logout-btn {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: #dc3545;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #dc3545;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: #dc3545;
    color: #ffffff;
}

/* Client Toolbar (overlay on client sites) */
#client-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

#client-toolbar .toolbar-info {
    color: #666666;
    font-size: 14px;
}

#client-toolbar .toolbar-info strong {
    color: #333333;
}

#client-toolbar .toolbar-logout {
    background: #0066cc;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

#client-toolbar .toolbar-logout:hover {
    background: #0055aa;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.stat-success .stat-number {
    color: #28a745;
}

.stat-card.stat-warning .stat-number {
    color: #ffc107;
}

.stat-card.stat-danger .stat-number {
    color: #dc3545;
}

/* Filter Bar */
.filter-bar {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.search-box input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.filter-options {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-options select {
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #ffffff;
    cursor: pointer;
}

.filter-options select:focus {
    outline: none;
    border-color: #0066cc;
}

@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: none;
    }

    .filter-options {
        justify-content: flex-start;
    }
}

/* Admin Layout */
.admin-wrapper {
    min-height: 100vh;
    background: #f8f9fa;
}

/* Admin Navigation Menu */
.admin-nav {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 30px;
}

.admin-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.admin-nav li {
    margin: 0;
}

.admin-nav a {
    display: block;
    padding: 14px 20px;
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.admin-nav a:hover {
    color: #333333;
    background: #f8f9fa;
}

.admin-nav a.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

@media (max-width: 768px) {
    .admin-nav {
        padding: 0 15px;
        overflow-x: auto;
    }

    .admin-nav ul {
        min-width: max-content;
    }

    .admin-nav a {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}

.admin-header {
    background: #ffffff;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-header h1 {
    font-size: 1.25rem;
    color: #333333;
    font-weight: 600;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-main {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Admin Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

.grid-3-1 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 24px;
}

/* Span utilities */
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-full { grid-column: 1 / -1; }

/* Responsive grid */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2-1, .grid-1-2, .grid-3-1 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .col-span-2, .col-span-3 { grid-column: span 1; }
}

/* Card enhancements */
.card-grid {
    display: grid;
    gap: 20px;
}

.card-compact {
    padding: 0;
}

.card-compact .card-header {
    padding: 16px 20px;
}

.card-compact .card-body {
    padding: 20px;
}

/* Mini stat cards */
.mini-stat {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.mini-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.mini-stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.mini-stat-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.mini-stat.success { border-left: 4px solid #28a745; }
.mini-stat.warning { border-left: 4px solid #ffc107; }
.mini-stat.danger { border-left: 4px solid #dc3545; }
.mini-stat.info { border-left: 4px solid #17a2b8; }
.mini-stat.primary { border-left: 4px solid #0066cc; }

/* Info list inside cards */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: #666;
}

.info-list .value {
    font-weight: 500;
    color: #333;
}

/* Quick action cards */
.action-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.action-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.action-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.action-card-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.action-card-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Admin Navigation Menu */
.admin-nav {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 30px;
}

.admin-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.admin-nav li {
    margin: 0;
}

.admin-nav a {
    display: block;
    padding: 14px 20px;
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.admin-nav a:hover {
    color: #333333;
    background: #f8f9fa;
}

.admin-nav a.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
    background: #f0f7ff;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    flex: 1;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666666;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #0066cc;
}

.password-toggle.active {
    color: #0066cc;
}

.eye-icon {
    width: 20px;
    height: 20px;
}

/* Client Portal Layout */
.client-wrapper {
    min-height: 100vh;
    background: #f8f9fa;
}

.client-header {
    background: #ffffff;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.client-header h1 {
    font-size: 1.25rem;
    color: #333333;
    font-weight: 600;
}

.client-nav {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 30px;
}

.client-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.client-nav li {
    margin: 0;
}

.client-nav a {
    display: block;
    padding: 14px 20px;
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.client-nav a:hover {
    color: #333333;
    background: #f8f9fa;
}

.client-nav a.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
    background: #f0f7ff;
}

.client-main {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .client-header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .client-nav {
        padding: 0 15px;
        overflow-x: auto;
    }

    .client-nav ul {
        min-width: max-content;
    }

    .client-nav a {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .client-main {
        padding: 20px 15px;
    }
}

/* File Browser Table */
.file-table {
    width: 100%;
}

.file-table th,
.file-table td {
    padding: 12px 16px;
}

.file-table tbody tr:hover {
    background: #f8f9fa;
}

.file-table a {
    color: #333;
    text-decoration: none;
}

.file-table a:hover {
    color: #0066cc;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #0066cc;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Card Header with Actions */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
}

.modal-close:hover {
    color: #333;
}

/* Utility */
ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

ul li {
    margin-bottom: 6px;
    color: #666666;
}
