
        .api-alt-text-setting {
            margin-top: 12px;
            margin-bottom: 12px;
        }
        
        /* Ensure button text stays white in all states */
        .api-alt-text-generate-btn {
            color: #ffffff !important;
        }
        .api-alt-text-generate-btn {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .api-alt-text-generate-btn[disabled] .button-text {
            text-shadow: 0 1px 1px rgba(0,0,0,0.3);
        }
        
        .api-alt-text-generate-btn .button-text {
            color: #ffffff !important;
        }
        
        .api-alt-text-generate-btn .dashicons {
            color: #ffffff !important;
        }
        
        /* Success state */
        .api-alt-text-generate-btn.button-success {
            background: #46b450 !important;
            border-color: #46b450 !important;
            color: #ffffff !important;
        }
        
        /* Add loading animation */
        @keyframes apiPulse {
            0% { opacity: 0.7; }
            50% { opacity: 1; }
            100% { opacity: 0.7; }
        }

        .api-alt-text-generate-btn[disabled] .button-text {
            animation: apiPulse 1.5s infinite;
        }
        
        .api-alt-text-generate-btn.button-success .button-text {
            color: #ffffff !important;
        }
        
        .api-alt-text-generate-btn.button-success .dashicons {
            color: #ffffff !important;
        }
        
        /* Hover states */
        .api-alt-text-generate-btn:hover {
            background: #135e96 !important;
            border-color: #135e96 !important;
            color: #ffffff !important;
        }
        
        .api-alt-text-generate-btn.button-success:hover {
            background: #3a9e47 !important;
            border-color: #3a9e47 !important;
            color: #ffffff !important;
        }
        
.api-alt-text-container {
    max-width: 1200px;
    margin: 20px 0;
}

.api-alt-text-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin-bottom: 20px;
    padding: 20px;
}

.api-alt-text-card h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.account-info {
    margin: 15px 0;
}

.info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    flex: 0 0 150px;
    font-weight: 600;
}

.info-row .value {
    flex: 1;
}

.info-row.highlight {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.info-row.highlight .credits {
    color: #2271b1;
    font-weight: bold;
    font-size: 1.2em;
}

.actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Generation page styles */
.image-selection {
    margin: 20px 0;
}

.selected-images-container {
    margin: 20px 0;
}

.generation-options {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.credits-info {
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
}

.credits-info .dashicons {
    margin-right: 10px;
    color: #2271b1;
    margin-top: 2px;
}

.credit-warning {
    background: #fcf0f1;
    border: 1px solid #dba7a7;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    color: #d63638;
    display: flex;
    align-items: flex-start;
}

.credit-warning .dashicons {
    margin-right: 10px;
    margin-top: 2px;
}

.select-all-actions {
    margin: 15px 0;
}

/* Selected images grid */
.selected-images-list {
    display: grid;
    gap: 15px;
    margin: 15px 0;
}

.selected-image-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s;
}

.selected-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-preview {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 50, 50, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-info {
    padding: 10px;
}

.image-title {
    font-weight: 600;
    font-size: 13px;
    color: #1d2327;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-id {
    font-size: 11px;
    color: #666;
}

/* Results styling */
.generation-results {
    margin-top: 30px;
}

.result-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.result-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.result-number {
    background: #2271b1;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.result-content {
    display: flex;
    padding: 20px;
}

.result-image {
    flex: 0 0 150px;
    margin-right: 20px;
}

.result-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.result-details {
    flex: 1;
}

.alt-text-section h4 {
    margin: 0 0 10px 0;
    color: #1d2327;
}

.alt-text {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 80px;
}

.result-actions {
    display: flex;
    gap: 10px;
}

/* Button success state */
.button-success {
    background-color: #46b450 !important;
    border-color: #46b450 !important;
    color: white !important;
}



/* admin.css - Alt Text Assistant Plugin Styles */

/* ================================
   CUSTOM MODAL STYLES
   ================================ */

/* Custom Modal Overlay */
.api-alt-text-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Container */
.api-alt-text-modal {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Modal Header */
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.close-modal:hover {
    color: #000;
}

/* Modal Toolbar */
.modal-toolbar {
    padding: 15px 24px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.toolbar-left {
    display: flex;
    gap: 10px;
}

.search-input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.filter-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.selection-count {
    font-size: 14px;
    color: #555;
}

/* Modal Content */
.modal-content {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.image-item {
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.image-item:hover {
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-item.selected {
    border-color: #2271b1;
    background-color: #f0f6fc;
}

.image-checkbox {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.image-thumbnail {
    height: 120px;
    overflow: hidden;
    background: #f5f5f5;
}

.image-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-info {
    padding: 10px;
    background: white;
}

.image-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-id,
.image-date {
    font-size: 11px;
    color: #666;
}

/* Modal Pagination */
.modal-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.page-info {
    font-size: 14px;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8f9fa;
}

/* ================================
   DASHBOARD CARDS
   ================================ */

.api-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0 30px 0;
}

.dashboard-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.card-icon {
    margin-bottom: 15px;
}

.card-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.card-stats .card-icon .dashicons {
    color: #2271b1;
}

.card-credits .card-icon .dashicons {
    color: #00a32a;
}

.card-quick-actions .card-icon .dashicons {
    color: #d63638;
}

.card-content h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #1d2327;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stat-label {
    color: #646970;
    font-size: 13px;
}

.stat-value {
    font-weight: 600;
    color: #2271b1;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.user-avatar img {
    border-radius: 50%;
    margin-right: 10px;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 13px;
    color: #1d2327;
}

.user-email {
    font-size: 12px;
    color: #646970;
}

.credits-display {
    background: #f0f6fc;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.credits-label {
    display: block;
    font-size: 12px;
    color: #646970;
}

.credits-value {
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
}

.credits-info small {
    font-size: 11px;
    color: #8c8f94;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.action-buttons .button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    font-size: 13px;
}

.action-buttons .dashicons {
    margin-right: 5px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    color: #2271b1;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 0;
}

.quick-link:hover {
    color: #135e96;
}

.quick-link .dashicons {
    font-size: 14px;
    margin-right: 5px;
}

.card-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.card-actions .button {
    width: 100%;
    text-align: center;
}

/* ================================
   CARD HEADERS
   ================================ */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.card-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.header-stats {
    display: flex;
    gap: 10px;
}

.stat-badge {
    display: flex;
    align-items: center;
    background: #f0f6fc;
    color: #2271b1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.stat-badge .dashicons {
    font-size: 16px;
    margin-right: 5px;
}

/* ================================
   SECTION HEADERS
   ================================ */

.selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.selected-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.selected-count {
    font-size: 14px;
    color: #646970;
}

.selected-count span {
    font-weight: 600;
    color: #2271b1;
}

/* Selected Images Header */
.selected-images-container > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.selected-images-container h3 {
    margin: 0;
    font-size: 1.3em;
    color: #1d2327;
}

#selected-total-count {
    color: #2271b1;
    font-weight: bold;
}

#clear-all-selected-btn {
    display: flex;
    align-items: center;
    padding: 8px 15px;
}

#clear-all-selected-btn .dashicons {
    margin-right: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Generation options header */
.generation-options > h3:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.generation-options > h3:first-child span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

/* ================================
   SELECTED IMAGES DISPLAY
   ================================ */

#selected-images-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
    max-height: 400px;
    overflow-y: auto;
}

.selected-image-item {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.selected-image-item:hover {
    transform: translateY(-2px);
}

.image-preview {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 50, 50, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-image-item .image-info {
    padding: 10px;
}

.selected-image-item .image-title {
    font-weight: 600;
    font-size: 13px;
    color: #1d2327;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-image-item .image-id {
    font-size: 11px;
    color: #666;
}

/* ================================
   RESULTS DISPLAY
   ================================ */

.result-card {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.result-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.result-number {
    background: #2271b1;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 14px;
}

.result-content {
    display: flex;
    padding: 20px;
}

.result-image {
    flex: 0 0 150px;
    margin-right: 20px;
}

.result-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.result-details {
    flex: 1;
}

.alt-text-section h4 {
    margin: 0 0 10px 0;
    color: #1d2327;
    font-size: 14px;
}

.alt-text {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #2c3338;
    margin-bottom: 15px;
    min-height: 80px;
}

.result-actions {
    display: flex;
    gap: 10px;
}

.result-actions .button {
    padding: 8px 15px;
    font-size: 13px;
}

/* ================================
   CREDITS DISPLAY
   ================================ */

.credits-info {
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
}

.credits-info .dashicons {
    margin-right: 10px;
    color: #2271b1;
    margin-top: 2px;
}

.credit-warning {
    background: #fcf0f1;
    border: 1px solid #dba7a7;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    color: #d63638;
    display: flex;
    align-items: flex-start;
    display: none; /* default hidden */
}

.credit-warning .dashicons {
    margin-right: 10px;
    margin-top: 2px;
}

.select-all-actions {
    margin: 15px 0;
}

/* ================================
   ANIMATIONS & UTILITIES
   ================================ */

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-5px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-5px); }
}

.save-indicator {
    animation: fadeInOut 2s ease-in-out;
}

/* Regenerate button styling */
.regenerate-btn {
    background: #f0ad4e;
    border-color: #eea236;
    color: white;
}

.regenerate-btn:hover {
    background: #ec971f;
    border-color: #d58512;
}

.regenerate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Button success state */
.button-success {
    background-color: #46b450;
    border-color: #46b450;
    color: white;
}

/* ================================
   BADGE STYLES
   ================================ */

.alt-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.alt-badge.no-alt {
    background: #d63638;
    color: white;
}

.alt-badge.has-alt {
    background: #00a32a;
    color: white;
}

.image-needs-alt {
    font-size: 10px;
    color: #d63638;
    margin-top: 3px;
    font-weight: 600;
}

/* Upload button specific */
#upload-images-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

#upload-images-btn .dashicons {
    margin-right: 5px;
}

/* ================================
   STATS DISPLAY
   ================================ */

.stats {
    display: flex;
    gap: 15px;
    margin-right: 15px;
    font-size: 13px;
    color: #555;
}

.stats .stat-item {
    display: flex;
    flex-direction: column;
}

.stats .stat-item span:last-child {
    font-weight: bold;
    color: #2271b1;
}

/* Modal Feedback */
.modal-feedback {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2271b1;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Selection stats improvement */
.modal-toolbar .selection-count {
    font-size: 14px;
    color: #555;
    font-weight: 600;
    background: #f0f6fc;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #c5d9ed;
}

.modal-toolbar .selection-count span {
    color: #2271b1;
    font-weight: bold;
}

/* Clear Results Button */
#clear-results-btn {
    display: flex;
    align-items: center;
    padding: 8px 15px;
}

#clear-results-btn .dashicons {
    margin-right: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Results header layout */
.generation-results > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.generation-results h3 {
    margin: 0;
    font-size: 1.5em;
    color: #1d2327;
}

/* ================================
   RESPONSIVE STYLES
   ================================ */

@media (max-width: 1200px) {
    .toolbar-right {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .stats {
        order: 1;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 1024px) {
    .api-dashboard-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 782px) {
    .api-dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .selection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .selected-header,
    .options-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .result-content {
        flex-direction: column;
    }
    
    .result-image {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    #selected-images-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .modal-toolbar {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .stats {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #selected-images-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .api-alt-text-modal {
        width: 95%;
        max-height: 95vh;
    }
}

/* Responsive */
@media (max-width: 782px) {
    .result-content {
        flex-direction: column;
    }
    
    .result-image {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .selected-images-list {
    }
}

