/* API Stats Page Styles */

/* Back Button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #737373;
    /* Grey text */
    text-decoration: none;
    font-family: 'Inter_28pt-Regular';
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.back-link img {
    width: 10px;
    height: 18px;
    transition: transform 0.2s ease;
}

.back-link:hover img {
    transform: translateX(-2px);
}

.back-nav-container {
    margin-bottom: 11px;
}



/* Plan Status Card */
.plan-status-card {
    background-color: #FFFFFF;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.plan-status-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-status-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-status-card-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
}

.plan-name-text {
    font-size: 14px;
    color: var(--primary-color);
    font-family: 'Inter_18pt-Bold';
    margin: 0;
}

.plan-highlight {
    font-weight: 800;
    /* ExtraBold */
}

.plan-usage-text {
    color: #737373;
    font-size: 14px;
    margin: 0;
    font-family: 'Inter_28pt-Regular';
}

.plan-status-expiry {
    font-size: 14px;
    color: #737373;
    font-family: 'Inter_28pt-Regular';
    margin-left: auto;
    /* Push to right */
}

/* Requests Section */
.dash-requests-section.detailed-view {
    /* Keep container styling if needed, or remove if index.css covers it */
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #EDEDED;
    padding: 0;
    overflow: hidden;
    margin-top: 12px;
}

/* req-table-title styles inherited from index.css */

/* Pagination container spacing */
/* Pagination container spacing */
.req-table-container {
    width: 100%;
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.req-table-scroll-wrapper {
    min-width: 100%;
    width: max-content;
}


/* Actions and Badges are handled by index.css */

/* Pagination */
.table-pagination {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 16px 24px;
}

.pagination-select-container {
    position: relative;
    display: inline-block;
}

.pagination-select {
    appearance: none;
    padding: 8px 30px 8px 12px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    background-color: #FFFFFF;
    font-size: 14px;
    color: #344054;
    font-family: 'Inter_28pt-SemiBold';
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    /* Gap between buttons */
}

.page-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D0D5DD;
    background-color: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 4px;
}

.page-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #667085;
    font-family: 'Inter_28pt-Regular';
    cursor: pointer;
    border-radius: 8px;
}

.page-number.active {
    background-color: #F9F5FF;
    color: #7F56D9;
    /* Or adjust to brand primary */
    color: #1452CA;
    /* Brand Blue */
    background-color: #F6F9FE;
    font-family: 'Inter_28pt-SemiBold';
}

.page-dots {
    color: #667085;
    padding: 0 8px;
}

/* Table Overrides for Seats Page */
.req-table td:first-child {
    font-family: 'Inter_28pt-Regular';
    color: #252525;
}

/* Page Header Row */
.page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 11px;
    margin-bottom: 24px;
}

.page-title-row .page-title {
    margin: 0;
}

/* Add Seat Button - Primary Outline */
.btn-primary-outline {
    background: transparent;
    border: 1px solid #1452CA;
    border-radius: 8px;
    padding: 12px 32px;
    width: max-content;
    font-family: 'Inter_28pt-SemiBold';
    font-size: 16px;
    color: #1452CA;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-outline:hover {
    background: #EBF2FF;
}

/* Status Badges */
.status-not-registered {
    background: #FFFFFF;
    border: 1px solid #EDEDED;
    color: #737373;
}

.status-registered {
    background: #ECFDF3;
    /* Light Green */
    color: #027A48;
    /* Success Green */
    border: 1px solid #ABEFC6;
}

/* Seat Action Buttons */
.seat-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.action-icon-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.action-icon-btn:hover {
    transform: scale(1.1);
}

.action-icon-btn img {
    width: 20px;
    height: 20px;
}

/* API Cell with Copy Icon */
.api-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.copy-icon-btn:hover {
    opacity: 1;
}

.copy-icon-btn img {
    width: 14px;
    height: 14px;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Red Trash Icon for API Count Actions */
.action-icon-btn.delete-red img {
    filter: invert(36%) sepia(87%) saturate(1900%) hue-rotate(338deg) brightness(88%) contrast(92%);
}

/* Empty State Styles */
.empty-state-cell {
    height: 566px;
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
}

.empty-state-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.empty-state-title {
    font-family: 'Inter_28pt-SemiBold';
    font-size: 18px;
    color: #101828;
    margin-bottom: 8px;
}

.empty-state-subtitle {
    font-family: 'Inter_28pt-Regular';
    font-size: 14px;
    color: #667085;
}

@media only screen and (max-width: 768px) {
    .empty-state-cell {
        height: 358px;
    }



    .btn-primary-outline {
        width: max-content;
        font-size: 14px;
        padding: 12px 24px;
        text-align: center;
    }

    .plan-status-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-status-expiry {
        margin-left: 0;
        margin-top: 8px;
    }

    .table-pagination {
        gap: 16px;
    }

    .pagination-controls {
        width: auto;
        justify-content: flex-end;
        gap: 4px;
    }
}

/* Delete Confirmation Modal Styles (Refactored) */
.delete-modal-box {
    text-align: center;
    padding: 32px;
    max-width: 400px;
    border-radius: 16px;
}

.delete-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #FEF2F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.delete-modal-icon {
    width: 32px;
    height: 32px;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.delete-modal-title {
    font-family: 'Inter_28pt-SemiBold';
    font-size: 20px;
    color: #111827;
    margin-bottom: 8px;
}

.delete-modal-desc {
    font-family: 'Inter_28pt-Regular';
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 32px;
}

.delete-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: stretch;
}

.btn-cancel-delete {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #fff;
    font-family: 'Inter_28pt-Regular';
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.btn-confirm-delete {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #DC2626;
    font-family: 'Inter_28pt-Regular';
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Page Actions Wrapper */
.actions-wrapper {
    display: flex;
    gap: 12px;
}

/* Primary Solid Button */
.btn-primary-solid {
    background: #1452CA;
    border: 1px solid #1452CA;
    border-radius: 8px;
    padding: 12px 32px;
    width: max-content;
    font-family: 'Inter_28pt-SemiBold';
    font-size: 16px;
    color: #FDFDFD;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-solid:hover {
    background: #0F42A6;
    border-color: #0F42A6;
}

/* Endpoint Row */
.endpoint-row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 24px;
}

.endpoint-row .input-group {
    flex: 1;
}

.endpoint-row label {
    color: #000000;
}

/* Specific Style for these input fields */
.copy-input-field.primary-border {
    background: #fff;
    border: 0.3px solid #1452CA;
}

@media only screen and (max-width: 768px) {
    .actions-wrapper {
        flex-direction: column;
        width: fit-content;
        gap: 10px;
        margin-bottom: 12px;
    }

    .endpoint-row {
        flex-direction: column;
        gap: 0px;
        width: fit-content;
        margin-bottom: 12px;
    }

    .actions-wrapper a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .btn-primary-solid {
        width: 100%;
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* Retry Button Style */
.retry-btn-style {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-family: 'Inter_28pt-SemiBold';
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.retry-btn-style:hover {
    background: #F9FAFB;
}