/* ===== OPEN RADIUS SELECT CUSTOMER DIALOG - Prefix: fxor- ===== */

/* Replace the existing .fxor-dialog .mud-dialog rule */
.fxor-dialog .mud-dialog {
    border: 2px solid #4B3E7B !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    max-width: 100vw !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}

.fxor-dialog .mud-dialog-content {
    padding: 0 !important;
    height: 100vh !important;
    overflow-y: auto !important;
}

/* Add this new style for expiration column */
.fxor-td-expiration {
    color: #DC2626 !important;
    font-weight: 900 !important;
    white-space: nowrap;
}

/* Update empty state to fill the space */
.fxor-empty {
    text-align: center;
    padding: 120px 20px;
    color: #6B7280;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 280px);
}

/* Default state before search */
.fxor-default-state {
    text-align: center;
    padding: 60px 20px;
    color: #9CA3AF;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 280px);
}

.fxor-default-state .fxor-default-icon {
    font-size: 64px !important;
    color: #D1D5DB;
    margin-bottom: 16px;
}

.fxor-default-state .fxor-default-text {
    font-size: 16px;
    color: #9CA3AF;
    font-weight: 700;
}

.fxor-default-state .fxor-default-sub {
    font-size: 13px;
    color: #C0C5CE;
    margin-top: 6px;
}

/*new odl*/




/* ===== Header ===== */
.fxor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 28px 14px;
    background: linear-gradient(135deg, #2D2350 0%, #4B3E7B 100%);
    position: relative;
    overflow: hidden;
}

.fxor-header::before {
    content: "";
    position: absolute;
    inset: -40px -60px auto auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255,123,83,.25) 0%, transparent 65%);
    pointer-events: none;
}

.fxor-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.fxor-header-icon {
    color: #fff !important;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
}

.fxor-header-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 15px;
    color: #fff;
    margin-bottom: 3px;
}

.fxor-header-sub {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.65);
}

/* ===== Body ===== */
.fxor-body {
    padding: 24px 28px 28px;
}

/* ===== Error ===== */
.fxor-error {
    background: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FCA5A5;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===== Search Row ===== */
.fxor-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.fxor-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(75,62,123,.20);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    background: #FAFAFA;
    color: #333;
    outline: none;
    transition: all 0.3s;
    text-align: center;
}

.fxor-search-input:focus {
    border-color: #4B3E7B;
    background: white;
    box-shadow: 0 0 0 3px rgba(75,62,123,.10);
}

.fxor-btn-search {
    background: linear-gradient(135deg, #4B3E7B 0%, #2D2350 100%) !important;
    color: white !important;
    border: none !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    box-shadow: 0 6px 18px rgba(75,62,123,.30) !important;
    text-transform: uppercase !important;
    white-space: nowrap;
}

.fxor-btn-search:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(75,62,123,.40) !important;
}

/* ===== Table ===== */
.fxor-table-container {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 40px rgba(0,0,0,.06);
    overflow-x: auto;
    margin-bottom: 16px;
}

.fxor-table {
    width: 100%;
    border-collapse: collapse;
}

.fxor-th {
    font-family: 'Poppins', sans-serif;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: #2D2350 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 14px !important;
    background: rgba(75,62,123,.06) !important;
    border-bottom: 2px solid rgba(75,62,123,.12) !important;
    text-align: left;
    white-space: nowrap;
}

.fxor-th-actions {
    text-align: center !important;
}

.fxor-tr {
    transition: background 0.15s;
}

.fxor-tr:hover {
    background: rgba(75,62,123,.03);
}

.fxor-tr:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.fxor-td {
    padding: 12px 14px !important;
    font-size: 13px !important;
    color: #333;
    font-weight: 600;
    vertical-align: middle;
}

.fxor-td-num {
    color: #6B7280;
    font-size: 12px !important;
    width: 40px;
}

.fxor-td-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #2D2350;
    font-size: 13px !important;
}

.fxor-td-date {
    color: #6B7280;
    font-size: 12px !important;
    white-space: nowrap;
}

.fxor-td-actions {
    text-align: center !important;
    white-space: nowrap;
}

/* ===== Select Button ===== */
.fxor-btn-select {
    background: linear-gradient(135deg, #FF7B53 0%, #FF9575 100%) !important;
    color: white !important;
    border: none !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    padding: 6px 14px !important;
    box-shadow: 0 4px 12px rgba(255,123,83,.30) !important;
    text-transform: uppercase !important;
}

.fxor-btn-select:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(255,123,83,.40) !important;
}

/* ===== Empty State ===== */
.fxor-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 600;
}

/* ===== Cancel ===== */
.fxor-actions-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.fxor-btn-cancel {
    border: 2px solid #4A3D7A !important;
    color: #4A3D7A !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    padding: 10px 28px !important;
    font-size: 13px !important;
    min-width: 130px !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .fxor-dialog .mud-dialog {
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 16px !important;
    }

    .fxor-search-row {
        flex-direction: column;
    }

    .fxor-btn-search {
        width: 100% !important;
    }

    .fxor-body {
        padding: 16px;
    }
}