/* ===== SECTION & CARD ===== */
.ticket-section {
    background: url('/path/to/your-bg.jpg') center/cover no-repeat;
    padding: 2rem 1rem;
}

.ticket-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1e2648;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
}

/* New Deposit Section and Card */
.deposit-section {
    background: url('/path/to/your-bg.jpg') center/cover no-repeat;
    /* padding: 1.5rem 1rem; */
}

.deposit-card {
    max-width: 900px;
    /* margin: 0 auto; */
    /* background-color: #1e2648; */
    border-radius: 6px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
    /* padding: 1.5rem; */
}

/* ===== TITLE ===== */
.ticket-title {
    color: #fff;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.ticket-title .highlight {
    color: #f0b90b;
}

/* New Deposit Title */
.deposit-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.deposit-title .highlight {
    color: #f0b90b;
}

/* ===== FORM LAYOUT ===== */
.ticket-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ticket-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* New Deposit Form Layout */
.deposit-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.deposit-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.deposit-form .full-width {
    flex: 100%;
}

/* Custom Margin Classes */
.mg-t-20 {
    margin-top: 20px;
}

.mg-t-10 {
    margin-top: 10px;
}

.mg-sm-t-0 {
    @media (min-width: 576px) {
        margin-top: 0;
    }
}

/* ===== LABELS & CONTROLS ===== */
.ticket-form label {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.ticket-form input,
.ticket-form textarea,
.ticket-form select {
    background-color: #2a345a;
    border: 1px solid #3b4b78;
    border-radius: 4px;
    color: #fff;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ticket-form input:focus,
.ticket-form textarea:focus,
.ticket-form select:focus {
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.3);
    outline: none;
}

.ticket-form textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 1rem;
}

.ticket-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#ccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    cursor: pointer;
}

.ticket-form select::-ms-expand {
    display: none;
}

/* New Deposit Form Controls */
.deposit-form label {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 0.4rem;
}

.deposit-form input,
.deposit-form select {
    background-color: #2a345a;
    border: 1px solid #3b4b78;
    border-radius: 3px;
    color: #fff;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.deposit-form input:focus,
.deposit-form select:focus {
    border-color: #f0b90b;
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.2);
    outline: none;
}

.deposit-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="#ccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 10px;
    cursor: pointer;
}

.deposit-form select::-ms-expand {
    display: none;
}

/* Form Hints */
.deposit-form .form-hint {
    font-size: 0.7rem;
    /* Tiny text */
    color: #aaa;
    margin-top: 0.2rem;
}

/* File Input Styling */
.ticket-form .file-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #2a345a;
    border: 1px solid #3b4b78;
    border-radius: 4px;
    padding: 0.75rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ticket-form .file-input-wrapper:focus-within {
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.3);
}

.ticket-form .file-input-wrapper input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.ticket-form .file-input-label {
    color: #fff;
    font-size: 1rem;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-form .file-input-button {
    background-color: #f0b90b;
    color: #1e2648;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ticket-form .file-input-button:hover {
    background-color: #ddb20b;
}

/* New Deposit File Input */
.deposit-form input[type="file"] {
    background-color: #2a345a;
    border: 1px solid #3b4b78;
    border-radius: 3px;
    color: #fff;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.deposit-form input[type="file"]:focus {
    border-color: #f0b90b;
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.2);
    outline: none;
}

/* Tab Styling */
.ticket-form .tab-content {
    display: none;
}

.ticket-form .tab-content.active {
    display: block;
}

/* New Deposit Details Styling */
.deposit-form .deposit-details {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Wallet Container */
.wallet-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wallet-container span {
    word-break: break-all;
    max-width: 200px;
}

.copy-btn {
    background-color: #f0b90b;
    color: #1e2648;
    border: none;
    border-radius: 3px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #ddb20b;
}

/* QR Code */
.qr-code {
    text-align: center;
}

/* Deposit Table */
.deposit-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #2a345a;
    color: #fff;
}

.deposit-table th,
.deposit-table td {
    border: 1px solid #3b4b78;
    padding: 0.5rem;
    text-align: left;
}

.deposit-table th {
    background-color: #1e2648;
    font-size: 0.9rem;
}

.deposit-table td {
    font-size: 0.85rem;
}

.deposit-table .text-center {
    text-align: center;
}

/* ===== BUTTONS ===== */
.ticket-form .btn-block {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #f0b90b;
    color: #1e2648;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.ticket-form .btn-block:hover {
    background-color: #ddb20b;
    transform: translateY(-2px);
}

/* New Deposit Button */
.deposit-form .btn-block {
    display: block;
    width: 100%;
    padding: 0.6rem 1.2rem;
    background-color: #f0b90b;
    color: #1e2648;
    border: none;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.deposit-form .btn-block:hover {
    background-color: #ddb20b;
    transform: translateY(-1px);
}

/* Button Size Variants */
.ticket-form .btn-block.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.ticket-form .btn-block.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* New Deposit Button Size */
.deposit-form .btn-block.btn-md {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

/* Button Container */
.ticket-form .button-group {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ticket-form .btn-container {
    flex: 1;
    max-width: 200px;
}

.ticket-form .btn-container-left {
    display: flex;
    justify-content: flex-start;
}

.ticket-form .btn-container-center {
    display: flex;
    justify-content: center;
}

.ticket-form .btn-container-right {
    display: flex;
    justify-content: flex-end;
}

/* New Deposit Button Container */
.deposit-form .button-group {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.deposit-form .btn-container {
    flex: none;
    max-width: 150px;
}

.deposit-form .btn-container-center {
    display: flex;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 576px) {

    .ticket-form .form-row,
    .deposit-form .form-row {
        flex-direction: column;
    }

    .ticket-form .button-group,
    .deposit-form .button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-form .btn-container,
    .deposit-form .btn-container {
        max-width: none;
    }

    .ticket-form .btn-container-left,
    .ticket-form .btn-container-center,
    .ticket-form .btn-container-right,
    .deposit-form .btn-container-center {
        justify-content: center;
    }

    .ticket-form .btn-block,
    .deposit-form .btn-block {
        margin: 0.5rem 0;
    }

    .deposit-card {
        padding: 1rem;
    }
}

.qr-code,
.qr-code-pre-rendered {
    display: inline-block;
    text-align: center;
    max-width: 150px;
}

.copy-btn {
    padding: 5px 10px;
    background-color: #f0b90b;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-btn.copied {
    background-color: #28a745;
    color: white;
}

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

.deposit-table th,
.deposit-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.deposit-table th {
    background-color: #f4f4f4;
}

.method-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

/* .review-table td {
    padding: 0.5rem 1rem;
    color: #fff;
}

.review-table th {
    text-align: left;
    color: #f0b90b;
    padding: 0.5rem 1rem;
} */

.method-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
}


/* Withdrawal Accounts List Page */
.withdrawal-accounts-list-page .site-card {
    background-color: #0f1a2d;
    border: 1px solid #1e2639;
    border-radius: 8px;
}

.withdrawal-accounts-list-page .site-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.withdrawal-accounts-list-page .site-card-header .title {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
}

.withdrawal-accounts-list-page .site-card-header .card-header-link {
    background-color: #f0b90b;
    color: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
}

.withdrawal-accounts-list-page .site-card-body {
    padding: 1rem 1.5rem;
}

.withdrawal-accounts-list-page .site-transactions .single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #1e2639;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.withdrawal-accounts-list-page .site-transactions .single .left {
    display: flex;
    align-items: center;
}

.withdrawal-accounts-list-page .site-transactions .single .icon {
    background-color: #1e293e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.withdrawal-accounts-list-page .site-transactions .single .content .title {
    color: #ffffff;
    font-weight: 600;
}

.withdrawal-accounts-list-page .site-transactions .single .content .date {
    color: #aaaaaa;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.withdrawal-accounts-list-page .site-transactions .single .right .action a {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #5973bf;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
}

.withdrawal-accounts-list-page .site-transactions .single .right .action a:hover {
    background-color: #8295d1;
}

/* Action buttons side-by-side */
.withdrawal-accounts-list-page .site-transactions .single .right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* space between buttons */
}

/* Ensure the delete form button shrinks to its icon only */
.withdrawal-accounts-list-page .site-transactions .single .delete-account-form {
    margin: 0;
    /* remove extra margin */
}

/* On very small screens, stack the actions */
@media (max-width: 480px) {
    .withdrawal-accounts-list-page .site-transactions .single .right {
        flex-direction: column;
        gap: 0.25rem;
    }
}


/* ================================
   List Page Card Styles
   Wrapper: .withdrawal-accounts-list-page
   ================================ */
.withdrawal-accounts-list-page .site-card {
    background-color: #0f1a2d;
    border: 1px solid #1e2639;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.withdrawal-accounts-list-page .site-card-header,
.withdrawal-accounts-list-page .site-card-body {
    padding: 1rem 1.5rem;
}

.withdrawal-accounts-list-page .site-card-body {
    background-color: #26334d;
}


/* Withdrawal Account Create Page */
.withdrawal-accounts-create-page .site-card {
    background-color: #0f1a2d;
    border: 1px solid #1e2639;
    border-radius: 8px;
}

.withdrawal-accounts-create-page .site-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.withdrawal-accounts-create-page .site-card-header .title {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
}

.withdrawal-accounts-create-page .site-card-header .card-header-link {
    background-color: #f0b90b;
    color: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
}

.withdrawal-accounts-create-page label {
    color: #ffffff;
    font-weight: 500;
}

.withdrawal-accounts-create-page .form-control,
.withdrawal-accounts-create-page .site-nice-select {
    background-color: #1e293e;
    border: 1px solid #26334d;
    color: #ffffff;
}

.withdrawal-accounts-create-page .buttons {
    text-align: right;
    margin-top: 1rem;
}

.withdrawal-accounts-create-page .site-btn.blue-btn {
    background-color: #f0b90b;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
}

/* ================================
   Create Page Card Styles
   Wrapper: .withdrawal-accounts-create-page
   ================================ */
.withdrawal-accounts-create-page .site-card {
    background-color: #0f1a2d;
    border: 1px solid #1e2639;
    border-radius: 8px;
    overflow: hidden;
}

.withdrawal-accounts-create-page .site-card-header,
.withdrawal-accounts-create-page .site-card-body {
    padding: 1rem 1.5rem;
}

.withdrawal-accounts-create-page .site-card-body {
    background-color: #26334d;
}


/* Withdrawal Account Edit Page */
.withdrawal-accounts-edit-page .site-card {
    background-color: #0f1a2d;
    border: 1px solid #1e2639;
    border-radius: 8px;
}

.withdrawal-accounts-edit-page .site-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.withdrawal-accounts-edit-page .site-card-header .title {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
}

.withdrawal-accounts-edit-page .site-card-header .card-header-link {
    background-color: #f0b90b;
    color: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
}

.withdrawal-accounts-edit-page label {
    color: #ccc;
    font-weight: 500;
}

.withdrawal-accounts-edit-page .form-control {
    background-color: #1e293e;
    border: 1px solid #26334d;
    color: #ffffff;
}

.withdrawal-accounts-edit-page .buttons {
    text-align: right;
    margin-top: 1rem;
}

.withdrawal-accounts-edit-page .site-btn.blue-btn {
    background-color: #f0b90b;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
}

/* ================================
   Edit Page Card Styles
   Wrapper: .withdrawal-accounts-edit-page
   ================================ */
.withdrawal-accounts-edit-page .site-card {
    background-color: #0f1a2d;
    border: 1px solid #1e2639;
    border-radius: 8px;
    overflow: hidden;
}

.withdrawal-accounts-edit-page .site-card-header,
.withdrawal-accounts-edit-page .site-card-body {
    padding: 1rem 1.5rem;
}

.withdrawal-accounts-edit-page .site-card-body {
    background-color: #26334d;
}

/* ================================
   Global Responsive Tweaks
   ================================ */
/* Ensure all cards fill their containers */
.withdrawal-accounts-list-page .site-card,
.withdrawal-accounts-create-page .site-card,
.withdrawal-accounts-edit-page .site-card {
    width: 100%;
    max-width: 800px;
    /* or whatever max you prefer */
    margin: 0 0.05 2rem 0.05;
}

/* Stack the .single rows vertically on small screens */
@media (max-width: 576px) {
    .withdrawal-accounts-list-page .site-transactions .single {
        flex-direction: column;
        align-items: flex-start;
    }

    .withdrawal-accounts-list-page .site-transactions .single .right {
        margin-top: 1rem;
    }
}

/* Stack form fields full-width on mobile */
@media (max-width: 576px) {

    .withdrawal-accounts-create-page .row>[class*="col-"],
    .withdrawal-accounts-edit-page .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ================================
   Input Text Color
   ================================ */
.withdrawal-accounts-create-page input,
.withdrawal-accounts-edit-page input {
    color: #fff !important;
}

/* Placeholder white */
.withdrawal-accounts-create-page input::placeholder,
.withdrawal-accounts-edit-page input::placeholder {
    color: #ccc !important;
    opacity: 1;
}

/* Shrink Lucide icons in the “single” rows */
.withdrawal-accounts-list-page .site-transactions .single .icon svg {
    width: 24px !important;
    height: 24px !important;
}

/* Shrink the edit‐button icon too */
.withdrawal-accounts-list-page .site-transactions .single .right .action svg {
    width: 20px !important;
    height: 20px !important;
}

/* in your withdrawal-accounts-list-page CSS block */
.withdrawal-accounts-list-page .site-transactions .single .delete-account-form {
    display: inline-block;
    margin-left: 0.5rem;
}

.withdrawal-accounts-list-page .site-transactions .single .btn-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #e74c3c;
}

.withdrawal-accounts-list-page .site-transactions .single .btn-icon:hover {
    color: #c0392b;
}


/* ──────────────────────────────────────────────────────────────────────────
   Side-by-Side Edit + Delete Buttons
   ────────────────────────────────────────────────────────────────────────── */

/* 1) Make the `.action` wrapper flex so its children sit inline */
.withdrawal-accounts-list-page .site-transactions .single .right .action {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    /* space between edit & delete */
}

/* 2) Ensure the delete form’s button inherits the same styling as links */
.withdrawal-accounts-list-page .site-transactions .single .delete-account-form,
.withdrawal-accounts-list-page .site-transactions .single .delete-account-form .btn-icon {
    display: inline-flex;
    /* shrink to icon size */
    align-items: center;
    justify-content: center;
    margin: 0;
    /* remove any stray margins */
}

/* 3) On very small screens stack them vertically */
@media (max-width: 480px) {
    .withdrawal-accounts-list-page .site-transactions .single .right .action {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
}

/* make delete button round like the edit pencil */
.withdrawal-accounts-list-page .site-transactions .single .right .action .btn-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #e74c3c;
    /* same purple as edit */
    color: #fff;
    /* white trash icon */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* hover state */
.withdrawal-accounts-list-page .site-transactions .single .right .action .btn-icon:hover {
    background-color: #c0392b;
    /* same hover shade as edit */
}

/* shrink the inner SVG if needed */
.withdrawal-accounts-list-page .site-transactions .single .right .action .btn-icon svg {
    width: 20px;
    height: 20px;
}
