/* Your Custom CSS Goes here */

.xero-btn {
    margin-top: 20px;
    background-color: #0B7CA1;
    border-color: #0B7CA1
}

.description-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.description-block div {
    width: 40%;
}

.descritpion-image {
    display: flex;
    justify-content: end;
}

.descritpion-image img{
    width: 80%;
}

.no-border {
    border: 0px !important;
}

.red-border {
    border-color: #f44336;
}

.normal-border {
    border-color: #e3e6ea;
}

/* Custom Dashboard Table Enhancements */
#datatable thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    font-weight: 600;
    border-bottom: 2px solid #ebedf2;
    padding-bottom: 10px;
}

#datatable tbody td {
    padding: 12px 8px;
    border-bottom: 1px solid #f0f2f5;
}

#datatable .form-control-sm, #datatable .form-select-sm {
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    font-size: 13px;
    color: #2f3542;
    transition: border-color 0.15s ease-in-out;
}

#datatable .form-control-sm:focus, #datatable .form-select-sm:focus {
    border-color: #4a6cf7;
    box-shadow: none;
}

#datatable label.text-muted {
    font-size: 10px;
    letter-spacing: 0.02em;
    color: #909399 !important;
}

/* Validation styling override matching Bootstrap */
#datatable .is-invalid {
    border-color: #fa5c7c !important;
    background-color: #fff6f6;
}
.invalid-feedback.dynamic-qr-err {
    color: #fa5c7c;
    font-size: 10px;
    margin-top: 2px;
    display: block;
}

.channel-card {
    border: 2px solid #dee2e6 !important;
}
.channel-card.active {
    border-color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.04) !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.08);
    transform: translateY(-2px);
}
.channel-card:hover:not(.active) {
    border-color: #adb5bd !important;
    transform: translateY(-1px);
}

#dropzone {
    position: relative;
    overflow: hidden;
}
/* Ensure the inner icons/text elements don't intercept or break pointer click paths */
#dropzone * {
    pointer-events: none;
}

/* Card Selection Styles */
.format-card {
    border-color: #dee2e6 !important;
    background-color: #fff;
    opacity: 0.75;
}
.format-card:hover {
    border-color: #adb5bd !important;
    opacity: 0.95;
}
.format-card.active {
    border-color: #0d6efd !important; /* Matches primary color */
    background-color: rgba(13, 110, 253, 0.04);
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Custom form layouts modifications */
.input-group-text {
    border-color: #dee2e6;
    color: #6c757d;
}

.form-select:focus, .form-control:focus {
    box-shadow: none !important;
}

/* Hardened State Styling for Batch Button */
#pay {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

#pay:disabled {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #adb5bd !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

#pay:not(:disabled) {
    background-color: #0d6efd !important; /* Striking active brand blue */
    color: #ffffff !important;
    animation: pulseGlow 2s infinite;
}

#pay:not(:disabled):hover {
    background-color: #0b5ed7 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25) !important;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}