/* Payment Details Card Styles */
.payment-details-card {
    background: #fff7e6;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px 0 rgba(255, 102, 0, 0.08);
}
.payment-details-card h5 {
    color: #FF6600;
    font-weight: bold;
    margin-bottom: 10px;
}
.payment-details-card .info-row {
    font-size: 16px;
    margin-bottom: 6px;
}
.payment-details-card .info-row:last-child {
    margin-bottom: 0;
}
.payment-details-card .info-note {
    margin-top: 10px;
    color: #b26a00;
    font-size: 14px;
}

.copyIcon {
    cursor: pointer;
}

/* Ticket Chat Styles */
.chat-messages-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    max-height: 100%;
    padding-bottom: 70px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.chat-messages-scroll::-webkit-scrollbar {
    display: none;
}

.chatrowinput {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #eee;
    z-index: 10;
}

/* Chat message avatar alignment */
.chatrowleft {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 32px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 20px;
}

.chat-sender-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.chat-attachments {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chat-attachment-link {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.chat-attachment-img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.chat-attachment-file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chat-input {
    flex: 1;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}

.chat-send-btn {
    background: #FF6600;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewticket {
    position: relative;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

/* Transaction Pagination Styles */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.page-item {
    margin: 0;
}

.page-link {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #40196D;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #40196D;
}

.page-item.active .page-link {
    background-color: #40196D;
    border-color: #40196D;
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Transaction Status Colors */
.transaction-icon-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #40196D, #6B46C1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.transactiondiv {
    transition: all 0.3s ease;
}

.transactiondiv:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-success {
    color: #10B981 !important;
}

.text-warning {
    color: #F59E0B !important;
}

.text-danger {
    color: #EF4444 !important;
}

.text-secondary {
    color: #6B7280 !important;
}

.view-all-link {
    color: #40196D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #6B46C1;
    text-decoration: underline;
}

.alltransact h5 {
    color: #1F2937;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.transaction-count {
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 400;
}
/* Closed ticket alert for chat */
.ticket-closed-alert {
    width: 100%;
    margin-bottom: 0;
    background: #fff7f0;
    border: 1px solid #ffb366;
    color: #b85c00;
    padding: 1.2rem 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    min-height: 60px;
    box-shadow: 0 2px 8px rgba(255, 179, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.ticket-closed-alert-icon {
    margin-right: 10px;
}
.ticket-closed-alert-icon circle {
    fill: #ffb366;
}
.ticket-closed-alert-icon path {
    stroke: #b85c00;
}


#quickScroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
}

#quickScroll a img {
    max-width: 140px;
    cursor: pointer;
}
