/* Admin Records Specific Styles */

/* Toggle Switch Styles */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.toggle-input {
    display: none;
}

.toggle-label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-input:checked + .toggle-label {
    background-color: #007bff;
}

.toggle-input:checked + .toggle-label .toggle-slider {
    transform: translateX(26px);
}

.toggle-text {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    min-width: 60px;
}

.toggle-input:checked ~ .toggle-text {
    color: #007bff;
}

/* Mobile optimizations for toggle */
@media (max-width: 768px) {
    .toggle-container {
        gap: 10px;
    }
    
    .toggle-label {
        width: 44px;
        height: 22px;
    }
    
    .toggle-slider {
        width: 18px;
        height: 18px;
    }
    
    .toggle-input:checked + .toggle-label .toggle-slider {
        transform: translateX(22px);
    }
    
    .toggle-text {
        font-size: 13px;
        min-width: 55px;
    }
}

/* Content sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Settings styles */
.settings-container {
    max-width: 800px;
    margin: 0 auto;
}

.settings-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.settings-card h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.setting-group {
    margin-bottom: 2rem;
}

.setting-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.setting-group input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.setting-group input[type="email"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Receipt ID Settings Styles */
.receipt-id-group {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.receipt-id-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.receipt-id-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.receipt-id-input-group:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.receipt-id-input-group input[type="number"] {
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    background: transparent;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.receipt-id-input-group input[type="number"]:focus {
    background-color: #f8f9fa;
}

.receipt-id-input-group input[type="number"]::-webkit-inner-spin-button,
.receipt-id-input-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.receipt-id-input-group input[type="number"] {
    -moz-appearance: textfield;
}

#receipt-year {
    width: 80px;
    color: #495057;
}

#receipt-number {
    width: 60px;
    color: #495057;
}

.receipt-separator {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c757d;
    margin: 0 0.25rem;
}

.receipt-id-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #e9ecef;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.preview-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
    background: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
    min-width: 80px;
    text-align: center;
}

.receipt-id-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-small:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

.btn-small:active {
    transform: translateY(1px);
}

.receipt-id-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.info-icon {
    width: 16px;
    height: 16px;
    fill: #28a745;
    flex-shrink: 0;
}

.setting-description {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

.setting-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.setting-actions .btn-primary {
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.setting-actions .btn-primary:hover {
    background: #0056b3;
}

.setting-actions .btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.settings-status {
    font-size: 0.9rem;
    font-weight: 500;
}

.settings-status.success {
    color: #28a745;
}

.settings-status.error {
    color: #dc3545;
}

.settings-status.loading {
    color: #007bff;
}

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

.stat-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.2s ease;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.stat-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.stat-value {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}

/* Table actions */
.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-filter input[type="text"] {
    min-width: 250px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-filter select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: white;
    min-width: 160px;
}

.export-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.export-buttons .btn-secondary {
    background-color: #28a745;
    font-weight: 500;
}

.export-buttons .btn-secondary:hover {
    background-color: #218838;
}

.export-buttons .btn-secondary:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}


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

/* Table container */
.table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background-color: #f8f9fa;
}

th {
    text-align: left;
    padding: 0.75rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

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

td {
    padding: 0.75rem;
    vertical-align: middle;
    color: #495057;
}

/* Loading states */
.loading-row {
    background-color: #f8f9fa;
}

.loading-cell {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

/* Category badges */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.category-event {
    background-color: #e3f2fd;
    color: #1565c0;
}

.category-badge.category-donation {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.category-badge.category-vision-trip {
    background-color: #fff3e0;
    color: #ef6c00;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.status-badge.status-pending-verification {
    background-color: #fff3cd;
    color: #856404;
}

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

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

/* Amount formatting */
.amount-cell {
    font-weight: 600;
    color: #28a745;
    white-space: nowrap;
}

/* Date formatting */
.date-cell {
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Actions cell */
.actions-cell {
    white-space: nowrap;
}

.action-btn {
    background: none;
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #495057;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
}

.action-btn:last-child {
    margin-right: 0;
}

.action-btn:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.view-image-btn {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.view-image-btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.verify-btn {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.verify-btn:hover {
    background-color: #1e7e34;
    border-color: #1e7e34;
}

.verify-btn:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

/* Payment actions in modal */
.payment-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.payment-actions h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.verify-payment-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.verify-payment-btn:hover {
    background-color: #218838;
}

.verify-payment-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.reject-payment-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.reject-payment-btn:hover {
    background-color: #c82333;
}

.reject-payment-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Modal Styles */
/* Admin Records Modal - More specific to override main.css */
#payment-modal.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    backdrop-filter: blur(4px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

#payment-modal.modal-overlay[style*="display: flex"] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#payment-modal .modal-container {
    position: relative !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;

    transform: none !important;
    transition: none !important;
}

#payment-modal .modal-content {
    background: #fff !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    position: relative !important;
    max-width: none !important;
    width: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    transition: none !important;
    transform: none !important;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Modal Card Styles */
.modal-card {
    min-width: 500px;
    max-width: 600px;
}

.modal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.modal-card-content {
    padding: 2rem;
}

/* Event Modal Card */
.event-modal-card .modal-card-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.event-icon, .donation-icon, .trip-icon, .generic-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.event-icon {
    background: #2196f3;
}

.event-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.event-name {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1565c0;
}

/* Donation Modal Card */
.donation-modal-card .modal-card-header {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.donation-icon {
    background: #9c27b0;
}

.donation-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.donation-category {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7b1fa2;
}

/* Vision Trip Modal Card */
.vision-trip-modal-card .modal-card-header {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
}

.trip-icon {
    background: #ff9800;
}

.trip-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.trip-name {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef6c00;
}

/* Generic Modal Card */
.generic-modal-card .modal-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.generic-icon {
    background: #6c757d;
}

.generic-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.payment-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #495057;
}

/* Payment Date in Modal */
.payment-date {
    font-size: 0.9rem;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Modal Content Sections */
.participant-info, .donor-info, .payment-info, .donation-details, .trip-details {
    margin-bottom: 2rem;
}

.participant-info h3, .donor-info h3, .payment-info h3, .donation-details h3, .trip-details h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 0.5rem;
}

.participant-info p, .donor-info p {
    margin: 0.5rem 0;
    color: #495057;
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-item .label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-item .value {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
}

.payment-item .value.amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #28a745;
}

.payment-item .value.payment-id {
    font-family: monospace;
    font-size: 0.9rem;
    color: #6c757d;
    word-break: break-all;
}

/* Payment Proof Section */
.payment-proof {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f3f4;
}

.payment-proof h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.proof-image-container {
    text-align: center;
}

.proof-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.proof-image:hover {
    transform: scale(1.02);
}

.proof-caption {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .export-buttons {
        justify-content: center;
        gap: 0.25rem;
    }
    
    .export-buttons .btn-secondary {
        min-width: 80px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-filter {
        justify-content: stretch;
    }
    
    .search-filter input[type="text"] {
        min-width: auto;
        flex: 1;
    }
    
    .search-filter select {
        min-width: auto;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    table {
        min-width: 900px;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    /* Receipt ID Settings Mobile */
    .receipt-id-group {
        padding: 1rem;
    }
    
    .receipt-id-input-group {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .receipt-id-input-group input[type="number"] {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 1.1rem;
    }
    
    .receipt-separator {
        display: none;
    }
    
    .receipt-id-preview {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .receipt-id-actions {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn-small {
        flex: 1;
        min-width: 120px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .receipt-id-info {
        padding: 0.75rem;
    }
    
    .info-item {
        font-size: 0.8rem;
    }
    
    /* Modal responsive */
    .modal-container {
        max-width: 95vw;
        margin: 1rem;
    }
    
    .modal-card {
        min-width: auto;
    }
    
    .modal-card-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-card-content {
        padding: 1.5rem;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .event-name, .donation-category, .trip-name, .payment-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .admin-page-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-sidebar {
        position: static;
        flex: none;
        width: 100%;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .sidebar-nav li {
        flex: 1;
        min-width: 120px;
    }
    
    .sidebar-nav button {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .admin-content {
        padding: 1.5rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stat-content h3 {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .action-btn {
        display: block;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    /* Modal mobile */
    .modal-card-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-card-content {
        padding: 1rem;
    }
    
    .participant-info h3, .donor-info h3, .payment-info h3, .donation-details h3, .trip-details h3 {
        font-size: 1rem;
    }
    
    .payment-item .value {
        font-size: 0.9rem;
    }
    
    .payment-item .value.amount {
        font-size: 1.1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .verify-payment-btn,
    .reject-payment-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        justify-content: center;
    }

    .settings-container {
        padding: 0 1rem;
    }

    .settings-card {
        padding: 1.5rem;
    }

    .receipt-id-group {
        padding: 1rem;
    }

    .receipt-id-input-group {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .receipt-id-input-group input[type="number"] {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 1.1rem;
    }

    .receipt-separator {
        display: none;
    }

    .receipt-id-preview {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .receipt-id-actions {
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-small {
        flex: 1;
        min-width: 120px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .receipt-id-info {
        padding: 0.75rem;
    }

    .info-item {
        font-size: 0.8rem;
    }

    .setting-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .setting-actions .btn-primary {
        width: 100%;
    }
}

/* Print styles */
@media print {
    .admin-sidebar,
    .table-actions,
    .back-to-dashboard,
    .actions-cell,
    .modal-overlay {
        display: none !important;
    }
    
    .admin-content {
        padding: 0;
        box-shadow: none;
    }
    
    .table-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    table {
        font-size: 10px;
    }
    
    th, td {
        padding: 0.5rem 0.25rem;
    }
    
    .stats-grid {
        display: none;
    }
} 