﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   /* background-color: #f5f5f5;*/
    
}

/* Layout Structure */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 12px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.main-content {
    /*flex: 1;*/
    display: flex;
    overflow: hidden;
}

/* Filters Bar */
.filters-bar {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .filter-group label {
        font-weight: 500;
        color: #495057;
        margin: 0;
        font-size: 0.9rem;
    }

    .filter-group select {
        min-width: 120px;
        font-size: 0.9rem;
    }

/* Table Panel */
.table-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.table-header {
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.table-info h6 {
    margin: 0;
    color: #495057;
}

.table-info small {
    color: #6c757d;
}

.table-container {
    flex: 1;
    overflow: auto;
    position: relative;
}

/* Enhanced Table Styling */
#transactionTable {
    width: 100% !important;
    margin: 0;
    border-collapse: collapse;
}

    #transactionTable thead th {
        background: #495057;
        color: white;
        font-weight: 600;
        padding: 12px 10px;
        border: none;
        position: sticky;
        top: 0;
        z-index: 10;
        font-size: 0.9rem;
        text-align: left;
    }

    #transactionTable tbody tr {
        cursor: pointer;
        transition: all 0.2s;
        border-bottom: 1px solid #dee2e6;
    }

        #transactionTable tbody tr:hover {
            background-color: #e3f2fd !important;
            transform: translateX(2px);
        }

        #transactionTable tbody tr.selected {
            background-color: #bbdefb !important;
            border-left: 4px solid #2196f3;
        }

    #transactionTable td {
        padding: 10px;
        vertical-align: top;
        font-size: 0.9rem;
        border-bottom: 1px solid #eee;
    }

.member-id {
    font-weight: 600;
    color: #2c3e50;
}

.customer-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.program-name {
    color: #495057;
}

.rep-name {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Drill-down Panel */
.drilldown-panel {
    width: 0;
    background: white;
    border-left: 1px solid #dee2e6;
    transition: width 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .drilldown-panel.open {
        width: 600px;
        z-index: 999;
    }

.drilldown-header {
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drilldown-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Detail Sections */
.detail-section {
    border-bottom: 1px solid #e9ecef;
    background: white;
}

    .detail-section:last-child {
        border-bottom: none;
    }

.section-header {
    background: #f8f9fa;
    padding: 12px 20px;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-content {
    padding: 20px;
}

.detail-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.detail-label {
    font-weight: 500;
    color: #6c757d;
    width: 120px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.detail-value {
    flex: 1;
    color: #495057;
    font-size: 0.9rem;
}

    .detail-value strong {
        color: #2c3e50;
    }

/* Email History Table */
.email-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .email-history-table th {
        background: #6c757d;
        color: white;
        padding: 8px 12px;
        text-align: left;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .email-history-table td {
        padding: 8px 12px;
        border-bottom: 1px solid #dee2e6;
        font-size: 0.85rem;
    }

    .email-history-table tr:nth-child(even) {
        background: #f8f9fa;
    }

/* Status indicators */
.status-yes {
    color: #28a745;
    font-weight: 600;
}

.status-no {
    color: #dc3545;
    font-weight: 600;
}

.status-pending {
    color: #ffc107;
    font-weight: 600;
}

/* Progress indicators */
.progress-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

    .progress-dot.completed {
        background: #28a745;
    }

    .progress-dot.pending {
        background: #ffc107;
    }

    .progress-dot.not-started {
        background: #6c757d;
    }

.progress-label {
    font-size: 0.85rem;
    color: #495057;
}

/* Workflow Status */
.workflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.workflow-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #dee2e6;
}

    .workflow-item.completed {
        border-left-color: #28a745;
    }

    .workflow-item.pending {
        border-left-color: #ffc107;
    }

    .workflow-item.not-started {
        border-left-color: #6c757d;
    }

.workflow-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 4px;
}

.workflow-status {
    font-size: 0.8rem;
}

/* Links and Actions */
.link-item {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 4px;
    margin: 5px 0;
    border-left: 3px solid #2196f3;
}

    .link-item a {
        color: #1976d2;
        text-decoration: none;
        font-weight: 500;
        word-break: break-all;
    }

        .link-item a:hover {
            text-decoration: underline;
        }

/* Responsive Design */
@@media (max-width: 1400px) {
    .drilldown-panel.open {
        width: 500px;
    }
}

@@media (max-width: 1200px) {
    .drilldown-panel.open {
        width: 450px;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

@@media (max-width: 768px) {
    .drilldown-panel.open {
        width: 100%;
        position: absolute;
        right: 0;
        z-index: 1001;
        height: 100%;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Custom scrollbars */
.table-container::-webkit-scrollbar,
.drilldown-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-container::-webkit-scrollbar-track,
.drilldown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-container::-webkit-scrollbar-thumb,
.drilldown-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

    .table-container::-webkit-scrollbar-thumb:hover,
    .drilldown-content::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }

/* Loading state */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #6c757d;
}

/* Loading Splash Screen */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

    .loading-overlay.show {
        display: flex;
    }

.loading-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    animation: slideUp 0.4s ease-out;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid #e3f2fd;
    border-top: 4px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #495057;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.loading-subtext {
    color: #6c757d;
    font-size: 0.9rem;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 15px;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2196f3, #64b5f6);
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

/* Table Loading Overlay */
.table-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.9);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
}

    .table-loading-overlay.show {
        display: flex;
    }

.table-loading-content {
    text-align: center;
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.table-loading-spinner {
    width: 30px;
    height: 30px;
    margin: 0 auto 15px;
    border: 3px solid #e3f2fd;
    border-top: 3px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Button loading states */
.btn-loading {
    position: relative;
    pointer-events: none;
}

    .btn-loading .btn-text {
        opacity: 0;
    }

    .btn-loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 16px;
        margin: -8px 0 0 -8px;
        border: 2px solid transparent;
        border-top: 2px solid currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes progress {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}




.form-section {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.badge-new {
    background-color: #0d6efd;
}

#statusHistory, #emailThread {
    max-height: 300px;
    overflow-y: auto;
}

.status-pending {
    color: #f0ad4e;
    font-weight: bold;
}

.status-approved {
    color: green;
    font-weight: bold;
}

.status-rejected {
    color: red;
    font-weight: bold;
}

/* Back Navigation Styles */
.back-nav {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #6c757d;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .back-btn:hover {
        background: #5a6268;
        transform: translateX(-2px);
    }

    .back-btn::before {
        content: "←";
        font-size: 16px;
    }


    /*WORKFLOW*/
.workflow-container {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    margin-bottom: 1rem;
}

.progress-wrapper {
    margin-bottom: 1rem;
}

.progress-bar-bg {
    background: #eee;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    transition: width 0.4s ease;
}

.progress-label {
    font-weight: bold;
    margin-bottom: 6px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.workflow-step {
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #f9fafb;
    text-align: center;
    transition: all 0.3s;
}

    .workflow-step[data-status='True'] {
        background: #ecfdf5;
        border-color: #34d399;
    }

    .workflow-step[data-status='Pending'] {
        background: #fefce8;
        border-color: #facc15;
    }

.step-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

    .step-title i {
        margin-right: 6px;
        color: #3b82f6;
    }

.step-buttons button {
    margin: 4px;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

    .step-buttons button:nth-child(1) {
        background-color: #4ade80;
        color: #000;
    }

    .step-buttons button:nth-child(2) {
        background-color: #facc15;
        color: #000;
    }

    .step-buttons button.active {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
        border: 2px solid #000;
    }

.collapse-toggle {
    display: inline-block;
    margin-bottom: 1rem;
    background: #e5e7eb;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

.hidden {
    display: none;
}

.last-updated {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280; /* Tailwind's gray-500 */
}
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-weight: 600;
    border-radius: 12px;
    font-size: 14px;
    margin-top: 4px;
}

.status-pending {
    background-color: #fde68a;
    color: #92400e;
}

.status-in-progress {
    background-color: #bfdbfe;
    color: #1e3a8a;
}

.status-completed {
    background-color: #bbf7d0;
    color: #065f46;
}


.btn-gold {
    background-color: #cb9731 !important;
    color: white !important;
    font-weight: bold !important;
    padding: 10px 25px !important;
}

    .btn-gold:hover {
        background-color: #cb9731 !important;
    }

/* Payment Status Pill Badges */
.payment-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.payment-pill-pending {
    background-color: #fef3cd;
    color: #b45309;
    border: 1px solid #f59e0b;
}

.payment-pill-canceled {
    background-color: #dc3545;
    color: #ffffff;
    border: 1px solid #f59e0b;
}


.payment-pill-onhold {
    background-color: #800000;
    color: #ffffff;
    border: 1px solid #f59e0b;
}


.payment-pill-partial {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.payment-pill-complete {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #22c55e;
}

/* Status dot */
.payment-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.payment-pill-pending::before {
    background-color: #f59e0b;
}

.payment-pill-partial::before {
    background-color: #3b82f6;
}

.payment-pill-complete::before {
    background-color: #22c55e;
}


/* ====================================
               PAYMENT PILL BADGES & SELECTION STYLES
               ==================================== */

/* Payment pill badges */
.payment-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.payment-pill-pending {
    background-color: #fef3cd;
    color: #b45309;
    border: 1px solid #f59e0b;
}

.payment-pill-partial {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.payment-pill-complete {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #22c55e;
}

.payment-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.payment-pill-pending::before {
    background-color: #f59e0b;
}

.payment-pill-partial::before {
    background-color: #3b82f6;
}

.payment-pill-complete::before {
    background-color: #22c55e;
}

/* Row selection styling */
.selected {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

    .selected:hover {
        background-color: rgba(13, 110, 253, 0.15) !important;
    }

/* Select All checkbox styling */
#chkSelectAll {
    cursor: pointer;
    transform: scale(1.1);
}

/* Row checkbox styling */
.row-checkbox {
    cursor: pointer;
    transform: scale(1.1);
}

.select-checkbox {
    text-align: center;
    padding: 8px !important;
}

/* Import button styling */
#btnImportSelected:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#btnImportSelected .spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
}

/* Alert container */
#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

/* DataTable processing indicator */
.dataTables_processing {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
}

/* Filter section styling */
.filter-section {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .filter-section .form-label {
        font-weight: 600;
        color: #212529;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .filter-section .form-control,
    .filter-section .form-select {
        border: 1px solid #ced4da;
        background: #ffffff;
        color: #212529;
    }

        .filter-section .form-control:focus,
        .filter-section .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        }

    .filter-section .btn-group .btn {
        font-size: 0.875rem;
        padding: 8px 16px;
        font-weight: 500;
    }

/* Filter card styling */
.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.card-body {
    background-color: #ffffff;
}

#filterToggle {
    border: none;
    background: none;
    color: #6c757d;
    font-size: 0.95rem;
    padding: 8px 0;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

    #filterToggle:hover {
        color: #0d6efd;
    }

    #filterToggle.active {
        color: #0d6efd;
        font-weight: 600;
    }

#filterChevron {
    transition: transform 0.3s ease;
    float: right;
}

    #filterChevron.rotated {
        transform: rotate(180deg);
    }

/* Quick filter buttons */
.btn-outline-info {
    color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-outline-info:hover {
        color: #ffffff;
        background-color: #0d6efd;
        border-color: #0d6efd;
    }



    /* NOTES */
.notes-container {
    background: white;
    border-radius: 8px;
    
}

.notes-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

    .notes-header h6 {
        margin: 0;
        font-weight: 600;
        color: #495057;
    }

.notes-body {
    max-height: 400px;
    overflow-y: auto;
}

.note-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

    .note-item:hover {
        background-color: #f8f9fa;
    }

    .note-item:last-child {
        border-bottom: none;
    }

.note-header-info {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 8px;
}

.note-sender {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.note-email {
    color: #6c757d;
    font-size: 12px;
    margin-left: 8px;
}

.note-timestamp {
    color: #6c757d;
    font-size: 12px;
    margin-left: auto;
}

.note-subject {
    color: #007bff;
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 500;
}

.note-content {
    color: #495057;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.note-type-badge {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 8px;
}

    .note-type-badge.system {
        background: #fff3cd;
        color: #856404;
    }

    .note-type-badge.approval {
        background: #d4edda;
        color: #155724;
    }

.add-note-btn, .add-link-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 20px;
    width: 100%;
    border-radius: 0 0 8px 8px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

    .add-note-btn:hover, .add-link-btn:hover {
        opacity: 0.9;
        color: white;
    }

/* Simple note composer */
.note-composer {
    border-top: 1px solid #dee2e6;
    padding: 20px;
    background: #f8f9fa;
    display: none;
}

    .note-composer.show {
        display: block;
    }

.note-input {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px;
    resize: vertical;
    min-height: 80px;
    font-size: 14px;
}

    .note-input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
    }

.composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.note-type-select {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
}

.composer-buttons {
    display: flex;
    gap: 10px;
}

.btn-save {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
}

    .btn-save:hover, .btn-cancel:hover {
        opacity: 0.9;
        color: white;
    }



/* Design 4: Compact List Style */
.compact-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.compact-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

    .compact-item:last-child {
        border-bottom: none;
    }

    .compact-item:hover {
        background: #f8fafc;
    }

.compact-content {
    flex: 1;
    min-width: 0;
}

.compact-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.compact-url {
    color: #64748b;
    font-size: 0.85rem;
    font-family: 'Monaco', 'Menlo', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-actions {
    display: flex;
    gap: 0.375rem;
    margin-left: 1rem;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #dcfce7;
    color: #166534;
    margin-right: 0.5rem;
}