/**
 * WLA Executive Orientation Desk – Admin Styles
 * ------------------------------------------------
 * Description:
 * This stylesheet controls the visual appearance of the
 * World Law Alliance (WLA) Executive Orientation Desk
 * inside the WordPress admin/dashboard interface.
 *
 * It includes layout styling for:
 * - Header & search bar
 * - Filters & pagination
 * - Data tables
 * - Status badges
 * - Action buttons
 * - Modal windows
 * - Detail sections & grids
 * - Loading spinner & error states
 * - Responsive behavior
 *
 * Key UI Components Styled:
 * - #wla-orientation-desk container
 * - Orientation data table (#orientation-table)
 * - Status badges (.status-draft, .status-submitted, etc.)
 * - Modal view (#view-modal)
 * - Detail grids & sections
 * - Pagination controls
 *
 * Responsive Breakpoints:
 * - 768px (tablet)
 * - 480px (mobile)
 *
 * Design Notes:
 * - Neutral gray admin palette
 * - WordPress-compatible spacing
 * - High readability for admin usage
 * - Scrollbar & overflow optimizations
 *
 * Author: World Law Alliance
 * Version: 1.0.0
 * File: wla-orientation-desk.css
 * Last Updated: 2026
 * License: GPL v2 or later
 */
#wla-orientation-desk {
    font-family: Arial, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.wla-desk-header {
    background: #54595f;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
}

.wla-desk-header h1 {
    margin: 0 0 15px 0;
    font-size: 24px;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border: none;
    font-size: 14px;
}

.search-box button {
    background: #f0c400;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

.filter-section {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.status-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-filter label {
    font-weight: bold;
}

.status-filter select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.table-container {
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#orientation-table {
    width: 100%;
    border-collapse: collapse;
}

#orientation-table thead {
    background: #54595f;
    color: white;
}

#orientation-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #2c3e50;
}

#orientation-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

#orientation-table tbody tr:hover {
    background: #f5f5f5;
}

.status-badge {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.status-draft {
    background: #f8c471;
    color: #7d6608;
}

.status-submitted {
    background: #ffffff;
    color: #0fbb65;
}

.status-evaluation {
    background: #f1948a;
    color: #78281f;
}

.status-approved {
    background: #82e0aa;
    color: #145a32;
}

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

.action-buttons-cell button {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.btn-view {
    background: #f0c400;
    color: white;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.pagination button {
	padding: 8px 20px;
    border: 1px solid #ffffff;
    background: #54595f ! important;
    COLOR: #ffffff;
    cursor: pointer;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#page-info {
    font-weight: bold;
}

/* Modal Styles */
.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: 0;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    font-weight: bold;
}

.close-modal:hover {
    color: #3498db;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Additional CSS for modal sections */
.details-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.details-section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.section-title {
	margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #54595f;
    color: #54595f;
    font-size: 18px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    font-size: 14px;
}

.detail-item span {
    color: #333;
    padding: 5px;
    background-color: white;
    min-height: 30px;
    display: flex;
    align-items: center;
}

.detail-item .value-box {
    background-color: white;
    padding: 10px;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    word-wrap: break-word;
}

.detail-item .formatted-list {
    background-color: #f8f9fa;
    border-left: 4px solid #54595f;
}

.detail-item .formatted-text {
    white-space: pre-wrap;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.detail-item .eod-id {
    font-weight: bold;
    color: #0073aa;
    font-size: 16px;
}

/* Status badges in modal */
.detail-item .status-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Loading Spinner */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container {
    text-align: center;
    padding: 40px;
}

.error-message {
    color: #e74c3c;
    background: #fadbd8;
    padding: 15px;
    border-left: 4px solid #e74c3c;
}

/* Modal Title Styling */
.modal-title-container {
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    margin-bottom: 20px;
}

.modal-title-container h2 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.modal-subtitle {
    background: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #3498db;
    font-size: 14px;
    color: #495057;
}

.modal-subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

/* Modal Header Background */
#view-modal .modal-header {
    background: #54595f;
    color: white;
    border-bottom: none;
    padding: 20px;
}

#view-modal .modal-header h2 {
    color: white;
}

#view-modal .close-modal {
    color: white;
    font-size: 28px;
    opacity: 0.8;
}

#view-modal .close-modal:hover {
    opacity: 1;
}

/* Adjust modal content */
#view-modal .modal-content {
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Scrollbar styling */
.details-container::-webkit-scrollbar,
.value-box::-webkit-scrollbar {
    width: 6px;
}

.details-container::-webkit-scrollbar-track,
.value-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.details-container::-webkit-scrollbar-thumb,
.value-box::-webkit-scrollbar-thumb {
    background: #888;
}

.details-container::-webkit-scrollbar-thumb:hover,
.value-box::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Table action buttons - hide edit and delete */
.action-buttons-cell .btn-edit,
.action-buttons-cell .btn-delete,
.action-buttons .btn-new-item,
.action-buttons .btn-show-structure,
.action-buttons .btn-alter-table {
    display: none !important;
}

/* Ensure only view button is visible */
.action-buttons-cell {
    justify-content: center;
}

.btn-view {
    width: 60px;
    text-align: center;
}

/* Style for lists */
.formatted-list br {
    display: block;
    margin: 5px 0;
}

.formatted-list {
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wla-desk-header h1 {
        font-size: 20px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .filter-section {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    #wla-orientation-desk {
        padding: 10px;
    }
    
    .wla-desk-header {
        padding: 15px;
    }
    
    #orientation-table th,
    #orientation-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-title-container h2 {
        font-size: 20px;
    }
}

/* Modal Header Styling */
#view-modal .modal-header {
    background: #54595f;
    color: white;
    border-bottom: none;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0; /* Important for text overflow */
}

.modal-title h2 {
    color: white;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.modal-subtitle {
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgb(255 255 255 / 0%);
    padding: 5px 10px;
    border-left: 2px solid white;
    flex: 1;
    min-width: 0; /* Important for text overflow */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-subtitle strong {
    font-weight: 600;
    margin: 0 5px;
}

#view-modal .close-modal {
    color: white;
    font-size: 24px;
    opacity: 0.8;
    cursor: pointer;
    margin-left: 15px;
    flex-shrink: 0;
}

#view-modal .close-modal:hover {
    opacity: 1;
}

/* Adjust modal content */
#view-modal .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Remove previous modal title container styles */
.modal-title-container {
    display: none;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    #view-modal .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    .modal-title {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .modal-subtitle {
        width: 100%;
        overflow: auto;
        white-space: normal;
    }
    
    #view-modal .close-modal {
        position: absolute;
        top: 15px;
        right: 15px;
        margin: 0;
    }
}


/* Response Modal Styles */
.response-modal-content {
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.response-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.response-section:last-child {
    border-bottom: none;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group .required {
    color: #e74c3c;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="file"],
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.help-text {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.progress-container {
    margin-bottom: 15px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #ecf0f1;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: #3498db;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #3498db;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-send {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-send:hover {
    background-color: #219653;
}

.btn-cancel {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-cancel:hover {
    background-color: #7f8c8d;
}

/* Status colors for response */
.status-initial {
    background-color: #f39c12;
}

.status-followup {
    background-color: #3498db;
}

.status-documentation {
    background-color: #9b59b6;
}

.status-review {
    background-color: #e74c3c;
}

.status-completion {
    background-color: #27ae60;
}

/* Table action button for Respond */
.btn-respond {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
    transition: background-color 0.3s;
}

.btn-respond:hover {
    background-color: #2980b9;
}

/* Update the action buttons cell to include respond button */
.action-buttons-cell {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background-color: #27ae60;
}

.notification.error {
    background-color: #e74c3c;
}

.notification.info {
    background-color: #3498db;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Error state for form fields */
.form-group select.error,
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}
/* END OF THE CSS World Law Alliance - Executive Orientation Desk */

/**
 * WLA – Expression of Interest (EOI) Admin Desk Styles
 * -------------------------------------------------------
 * Description:
 * This stylesheet defines the complete visual design and
 * responsive behavior for the World Law Alliance (WLA)
 * Expression of Interest (EOI) Admin Dashboard interface.
 *
 * It styles:
 * - Header & search interface
 * - Filters and pagination controls
 * - Data tables & hover effects
 * - Status badges & animations
 * - Modal windows & detail sections
 * - Loading spinners & error messages
 * - Scrollbars & print layouts
 * - Responsive breakpoints for tablet and mobile
 *
 * Key UI Containers:
 * - #wla-eoi-desk
 * - #eoi-data-table
 * - .eoi-modal
 * - .eoi-details-container
 * - .eoi-pagination
 *
 * Visual Theme:
 * - Blue / Indigo gradient admin theme
 * - Green action accents
 * - Soft shadows & rounded corners
 * - Smooth hover animations
 * - Accessible typography & spacing
 *
 * Responsive Breakpoints:
 * - 1200px  → Large screens
 * - 992px   → Laptop / Tablet
 * - 768px   → Tablet / Mobile
 * - 576px   → Small Mobile
 *
 * Special Features:
 * - Animated status badges
 * - Gradient hover rows
 * - Custom scrollbars
 * - Print-friendly layout
 * - Modal entrance animation
 *
 * Dependencies:
 * - WordPress Admin UI
 * - HTML structure generated by WLA EOI JS
 *
 * Author: World Law Alliance
 * Version: 1.0.0
 * File: wla-eoi-desk.css
 * Last Updated: 2026
 * License: GPL v2 or later
 */

#wla-eoi-desk {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1600px;
    margin: 0 auto;
    padding: 25px;
}

.eoi-desk-header {
    background: #54595f;
    color: white;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.eoi-desk-header h1 {
    margin: 0 0 20px 0;
    font-size: 26px;
    color: white;
    font-weight: 600;
}

.eoi-search-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.eoi-search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.eoi-search-box button {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.eoi-search-box button:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.eoi-filter-section {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #54595f;
}

.eoi-status-filter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eoi-status-filter label {
    font-weight: 600;
    color: #000000;
    font-size: 15px;
}

.eoi-status-filter select {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    font-size: 15px;
    background: white;
    color: #333;
    min-width: 180px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.eoi-status-filter select:focus {
    border-color: #4caf50;
    outline: none;
}

.eoi-table-container {
    background: white;
    overflow-x: auto; /* Horizontal scroll ke liye */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

#eoi-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px; /* Minimum width ensure karega horizontal scroll ka */
}

#eoi-data-table thead {
    background: #54595f;
    color: white;
}

#eoi-data-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 3px solid#54595f;
    white-space: nowrap;
}

#eoi-data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 14px;
}

#eoi-data-table tbody tr {
    transition: all 0.2s ease;
}

#eoi-data-table tbody tr:hover {
    background: #f8f9ff;
}

.eoi-status-badge {
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eoi-status-draft {
    background: linear-gradient(135deg, #ffb74d 0%, #ff9800 100%);
    color: #fff;
}

.eoi-status-submitted {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: #fff;
}

.eoi-action-buttons-cell {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.eoi-action-buttons-cell button {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

.eoi-btn-view {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    border: none;
}

.eoi-btn-view:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.eoi-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #f8f9ff;
    padding: 15px;
}

.eoi-pagination button {
    padding: 10px 25px;
    border: 2px solid #3949ab;
    background: white;
    color: #3949ab;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.eoi-pagination button:hover:not(:disabled) {
    background: #3949ab;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(57, 73, 171, 0.3);
}

.eoi-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #bdbdbd;
    color: #bdbdbd;
}

#eoi-page-info {
    font-weight: 600;
    color: #1a237e;
    font-size: 15px;
    background: white;
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
}

/* Modal Styles */
.eoi-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}

.eoi-modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 1300px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: eoiModalFadeIn 0.3s ease-out;
}

@keyframes eoiModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eoi-modal-header {
   	background: #54595f;
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eoi-modal-title {
    flex: 1;
}

.eoi-modal-title h2 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 22px;
    font-weight: 600;
}

.eoi-modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-left: 3px solid #4caf50;
    display: inline-block;
}

.eoi-modal-subtitle strong {
    color: white;
    font-weight: 600;
    margin: 0 5px;
}

.eoi-close-modal {
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.eoi-close-modal:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.eoi-modal-body {
    padding: 30px;
    max-height: 75vh;
    overflow-y: auto;
}

/* Details Container */
.eoi-details-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
}

.eoi-details-section {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e8eaf6;
    background: linear-gradient(to bottom right, #f8f9ff, #ffffff);
    position: relative;
    overflow: hidden;
}

.eoi-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #54595f;
}

.eoi-section-title {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #54595f;
    color: #54595f;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.eoi-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #ff912c;
}

.eoi-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.eoi-detail-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.eoi-detail-item.full-width {
    grid-column: 1 / -1;
}

.eoi-detail-item label {
    font-weight: 600;
    color: #3949ab;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eoi-detail-item span {
    color: #333;
    padding: 12px;
    background-color: white;
    min-height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.eoi-detail-item .eoi-value-box {
    background-color: white;
    padding: 15px;
    border: 1px solid #e0e0e0;
    max-height: 220px;
    overflow-y: auto;
    word-wrap: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.eoi-detail-item .eoi-formatted-list {
    background-color: #f5f7ff;
    border-left: 4px solid #2196f3;
    font-size: 14px;
    line-height: 1.8;
}

.eoi-detail-item .eoi-formatted-text {
    white-space: pre-wrap;
    line-height: 1.7;
    background-color: #f8f9ff;
    font-size: 14px;
}

.eoi-detail-item .eoi-record-id {
    font-weight: bold;
    color: #e53935;
    font-size: 18px;
    background: #ffebee;
    padding: 10px 15px;
    border: 2px solid #ffcdd2;
}

/* Loading Spinner */
.eoi-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4caf50;
    width: 40px;
    height: 40px;
    animation: eoiSpin 1s linear infinite;
    margin: 0 auto;
}

@keyframes eoiSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.eoi-loading-container {
    text-align: center;
    padding: 50px;
    background: #f8f9ff;
    margin: 20px 0;
}

.eoi-error-message {
    color: #d32f2f;
    background: #ffebee;
    padding: 20px;
    border-left: 5px solid #d32f2f;
    margin: 20px 0;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    #wla-eoi-desk {
        max-width: 95%;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .eoi-detail-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .eoi-modal-content {
        width: 95%;
        margin: 5% auto;
    }
}

@media (max-width: 768px) {
    .eoi-desk-header h1 {
        font-size: 22px;
    }
    
    .eoi-search-box {
        flex-direction: column;
    }
    
    .eoi-search-box input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .eoi-filter-section {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .eoi-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .eoi-modal-content {
        width: 98%;
        margin: 10% auto;
    }
    
    .eoi-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .eoi-close-modal {
        position: absolute;
        top: 20px;
        right: 20px;
        margin: 0;
    }
    
    .eoi-modal-subtitle {
        font-size: 13px;
    }
    
    #eoi-data-table {
        display: block;
        overflow-x: auto;
    }
    
    #eoi-data-table th,
    #eoi-data-table td {
        padding: 12px 15px;
        font-size: 13px;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    #wla-eoi-desk {
        padding: 15px;
    }
    
    .eoi-desk-header {
        padding: 20px;
    }
    
    .eoi-desk-header h1 {
        font-size: 20px;
    }
    
    .eoi-modal-header {
        padding: 20px;
    }
    
    .eoi-modal-title h2 {
        font-size: 20px;
    }
    
    .eoi-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .eoi-pagination button {
        width: 100%;
    }
}

/* Scrollbar styling */
.eoi-details-container::-webkit-scrollbar,
.eoi-value-box::-webkit-scrollbar {
    width: 8px;
}

.eoi-details-container::-webkit-scrollbar-track,
.eoi-value-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.eoi-details-container::-webkit-scrollbar-thumb,
.eoi-value-box::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4caf50, #2196f3);
}

.eoi-details-container::-webkit-scrollbar-thumb:hover,
.eoi-value-box::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #388e3c, #1976d2);
}

/* Table header icons */
#eoi-data-table th {
    position: relative;
}

#eoi-data-table th::after {
    position: absolute;
    right: 10px;
    opacity: 0.3;
    font-size: 12px;
}

/* Hover effects for table rows */
#eoi-data-table tbody tr {
    position: relative;
}

#eoi-data-table tbody tr::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

#eoi-data-table tbody tr:hover::after {
    opacity: 1;
}

/* Badge animations */
.eoi-status-badge {
    position: relative;
    overflow: hidden;
}

.eoi-status-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.eoi-status-badge:hover::before {
    left: 100%;
}

/* Print styles */
@media print {
    .eoi-desk-header,
    .eoi-filter-section,
    .eoi-pagination,
    .eoi-action-buttons-cell,
    .eoi-close-modal {
        display: none !important;
    }
    
    #eoi-data-table {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .eoi-modal-content {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
}

 /* END * WLA – Expression of Interest (EOI) Admin Desk Styles  */
