@font-face {
  font-family: 'Vazirmatn';
  src: url('/static/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
.exchange-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.intro-form-exchange {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-container {
    background: #222;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* .tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to bottom, #787878, #787878);
    padding: 5px;
    border-radius: 12px 12px 0 0;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    color: #6c5ce7;
    border-bottom: 2px solid #6c5ce7;
    background: white;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px 8px 0 0;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.trade-options {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
} */

.option {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.option:hover {
    background: rgba(108, 92, 231, 0.1);
}

.option.active {
    color: #6c5ce7;
    border-bottom: 2px solid #6c5ce7;
    font-weight: bold;
}

.currency-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
}

.currency-select {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-left: 1px solid #eee;
    min-width: 100px;
    gap: 8px;
}

.currency-select span {
    font-weight: 500;
    color: #444;
}

.input-group {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.1);
}

.form-control {
    border: none;
    padding: 12px;
    text-align: left;
    font-size: 16px;
    width: calc(100% - 100px);
}

.form-control:focus {
    outline: none;
    box-shadow: none;
}

.form-label {
    color: #f3d27a;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Enhanced button styling */
.btn-primary, .btn-sell {
    background: linear-gradient(145deg, #e5b84a, #f3d486);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(251, 140, 0, 0.2),
            0 0 0 1px rgba(251, 140, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover, .btn-sell:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(251, 140, 0, 0.3),
        0 0 0 1px rgba(251, 140, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active, .btn-sell:active {
transform: translateY(1px);
box-shadow: 0 2px 10px rgba(251, 140, 0, 0.2),
        0 0 0 1px rgba(251, 140, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Update the tab styling */
.tab-btn.active {
color: #222;
border-bottom: 2px solid #fb8c00;
background: linear-gradient(to bottom, #fff4d8, #f3d27a);
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px 8px 0 0;
}

.option.active {
color: #fb8c00;
border-bottom: 2px solid #fb8c00;
}

/* Add metallic effect to form elements */
.input-group {
background: linear-gradient(145deg, #f8f9fa, #fff);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.currency-select {
background: linear-gradient(145deg, #f1f3f5, #e9ecef);
border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.mb-0 {
    color: #f3d27a;
    font-size: 14px;
    padding: 10px 0;
    border-top: 1px dashed #eee;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 576px) {
    .exchange-container {
        padding: 10px;
    }

    .tab-btn {
        font-size: 12px;
        padding: 10px 5px;
    }

    .currency-select {
        min-width: 80px;
    }

    .form-control {
        font-size: 14px;
    }
    .d-flex.align-items-center {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px;
        text-align: right;
    }
    .table-responsive-ticket{
        width: 100%;
        overflow-x: auto;
    }
     #submitBtn {
        font-size: 14px;
        padding: 10px 16px;
        width: 100%;
    }
    .captcha-row {
        flex-direction: column !important; 
    }
    #captchaInput {
        max-width: 100% !important; 
        margin-top: 0.5rem; 
    }
    #captchaCode {
        min-width: auto !important;
        margin-right: 0 !important;
        font-size: 1.2rem;
    }
     #buyButton {
        font-size: 14px;
        padding: 10px 16px;
        width: 100%;
    }
    .table-responsive-buy{
        width: 100%;
        overflow-x: auto;
    }
    .flex-mobile-column label {
        order: 2;
    }

    .flex-mobile-column > div {
        order: 1;
    }
    .header-left.d-flex.align-items-center {
            flex-direction: row !important;
    }
    .notif.d-flex.align-items-center {
            flex-direction: row !important;
    }
}



/* Additional Styling for Select Boxes */
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 8px center;
    background-size: 16px;
    padding-left: 32px;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.white-color{
    color:white;
}
    .buygold-popup{
    background-color: #222;
}
.buygold-title{
    color:#f3d27a;
}
.buygold-confirm-btn{
    background-color: #f3d27a;
    color: black !important;
    height: 75%;
}
.buygold-confirm-btn:hover{
    background-color: #dcc585;
}
.buygold-cancel-btn{
    background-color: #1e1e11;
    color:white !important;
}
.my-text{
    color: white;
}

.modal-ticket {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-ticket-content {
    background-color: #1e1e1e !important;
    padding: 24px !important;
    border-radius: 12px !important;
    width: 100% !important;
    direction: rtl !important;
    max-width: 450px !important;
    position: relative !important;
    box-shadow: 0 0 25px #e5b84a55 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.modal-ticket-title {
    text-align: center !important;
    font-size: 18px  !important;
    font-weight: bold  !important;
    margin-bottom: 8px !important;
    color: #f3d27a !important;
}

.modal-ticket-content input,
.modal-ticket-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.modal-ticket-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
    direction: ltr;
}

.cancel-btn,
.submit-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.cancel-btn {
    background-color: #ccc;
    color: #333;
}

.cancel-btn:hover {
    background-color: #b3b3b3;
}

.submit-btn {
    background-color: #f3d27a;
    color: black;
}

.submit-btn:hover {
    background-color: #fbc840;
}

.close-btn {
    position: absolute;
    top: 10px;
    
    font-size: 22px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}

.text-label{
    color: #f3d27a;
}
.transparent-btn{
    background: transparent;
    border: none;
    padding: 0;
}
#color-img{
        filter: invert(1) sepia(1) saturate(5) hue-rotate(180deg);
}
.pagination-btn{
    background: #f3d27a;
}
.lists {
    max-height: 300px; 
    overflow-y: auto;   
    padding-right: 10px;
}
.lists::-webkit-scrollbar {
    width: 6px;
}

.lists::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.lists::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.lists::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.notification-item.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.mx-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

.ticket-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #444;
  margin-bottom: 1rem;
}

.ticket-tabs .tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #aaa;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.ticket-tabs .tab-btn.active {
  color: #e5b84a;
  border-bottom: 3px solid #e5b84a;
}

.ticket-tab {
  display: none;
}

.ticket-tab.active {
  display: block;
}


.blog-card-detail {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 40px;
}

.blog-card-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
    z-index: 1;
}

.blog-card-detail:hover::before {
    left: 100%;
}

.blog-card-detail:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.image-container img {
    width: 100%;
    height: auto;
    max-height: 400px; 
    object-fit: cover; 
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(102, 126, 234, 0.3) 0%,
        rgba(118, 75, 162, 0.3) 50%,
        rgba(240, 147, 251, 0.3) 100%
    );
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
}

.blog-card-detail:hover .image-overlay {
    opacity: 1;
}

.blog-card-detail:hover .post-image {
     transform: scale(1.1);
}

/* Content Section */
.content-section {
    padding: 40px;
    position: relative;
    z-index: 3;
}

.category-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gold);
    color: #1a1a2e;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.category-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
   background: linear-gradient(
        90deg,
        #f3d27a 0%,     
        #ffffff 50%,    
        #1e1e1e 100%    
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -1px;
    position: relative;
}

.post-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 0;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-detail:hover .post-title::after {
    width: 100%;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    color: #f3d27a;
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(246, 211, 101, 0.5));
}

.post-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.post-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.post-content p {
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.post-content p:nth-child(1) { animation-delay: 0.1s; }
.post-content p:nth-child(2) { animation-delay: 0.2s; }
.post-content p:nth-child(3) { animation-delay: 0.3s; }
.post-content p:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tags Section */
.tags-section {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tag {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f3d27a;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.tag:hover::before {
    left: 0;
}

.tag:hover {
    color: #f3d27a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(246, 211, 101, 0.3);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
}

.btn-primary {
    background: rgb(255 239 126 / 10%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: black;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

@media (min-width: 768px) {
  .ticket-closed-label.mobile-only {
    display: none; 
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .image-container {
        height: 300px;
    }

    .table-responsive-ticket{
        width: 100%;
        overflow-x: auto;
    }

    .contact-container {
        grid-template-columns: 1fr !important; 
    }

    .contact-form-section,
    .contact-info {
        padding: 20px;
    }

    .form-title {
        font-size: 18px;
        text-align: center;
    }

    .form-row{
        grid-template-columns: 1fr !important;
    }

    .form-subtitle {
        font-size: 14px;
        text-align: center;
        margin-bottom: 20px;
    }

    .contact-form-control {
        font-size: 13px;
        padding: 10px 12px;
    }

    .contact-form-control-code {
        font-size: 13px;
        padding: 10px 12px;
    }

    .send-btn {
        width: 100%;
        padding: 12px;
        border-radius: 12px;
        font-size: 14px;
    }

    .contact-item {
        flex-direction: column; 
        text-align: center;
        gap: 10px;
    }

    .contact-item i {
        margin-left: 0;
        margin-bottom: 8px;
    }

    .contact-item-content h4 {
        font-size: 13px;
    }

    .contact-item-content p {
        font-size: 13px;
    }

    .social-links {
        justify-content: center;
    }


    .chat-header {
        flex-direction: row; 
        align-items: center;
        justify-content: space-between; 
        padding: 10px 12px;
        gap: 8px;
        border-radius: 8px;
    }

    .chat-avatar {
         display: none !important;
        /* width: 36px;
        height: 36px;
        font-size: 14px; */
    }

    .chat-info h4 {
        font-size: 14px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .chat-info p {
        font-size: 12px;
        margin: 0;
        color: #ccc;
    }

   .chat-actions {
        position: relative;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
        text-align: center;
        line-height: 32px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        border: none;
        cursor: pointer;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 40px;
        left: 0;
        background: #333;
        border-radius: 8px;
        padding: 4px 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.4);
        z-index: 100;
        min-width: 120px;
    }

    .mobile-menu .menu-item {
        width: 100%;
        padding: 8px 12px;
        background: none;
        border: none;
        color: #fff;
        text-align: right;
        cursor: pointer;
    }

    .mobile-menu .menu-item:hover {
        background: #444;
    }
    
    .mobile-menu.show-menu {
        display: block;
    }

    #closeTicketSpan {
        align-self: flex-end;
        font-size: 12px;
    }
    .mobile-only {
        display: inline-flex !important;
        color: #f3d27a;
        margin-top: 4px;
        font-weight: bold;
    }
    .desktop-only {
        display: none !important;
    }

}

/* Loading Animation */
.blog-card {
    animation: cardLoad 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

@keyframes cardLoad {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/*contact us*/
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a365d;
    text-align: center;
    margin-bottom: 50px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Form */
.contact-form-section {
    background: #222;
    border-radius: 8px;
    padding: 30px;
    transform: translateY(-8px);
    box-shadow: rgba(255, 215, 0, 0.4) 0px 12px 35px;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.form-subtitle {
    color: #e8e4db;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
      display: block;
      font-weight: 500;
      color: #f3d27a;
      margin-bottom: 8px;
}

.contact-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    text-align: justify;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: none;
    font-family: 'Vazirmatn';
}

.contact-form-control:focus {
    outline: none;
    border-color: #f3d27a;
}

.contact-form-control-code{
    width: 30%;
    padding: 8px 15px;
    border: 1px solid #e2e8f0;
    text-align: justify;
    color: black;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
    font-family: 'Vazirmatn';
    text-align: center;
    margin-right: 3%;
}

.contact-details {
    display: flex;
    gap: 10px;
}

.contact-form-control.contct-message {
    min-height: 120px;
    resize: vertical;
}

.send-btn {
    background: linear-gradient(45deg, rgb(255, 255, 255), rgb(243, 210, 122));
    color: black;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Vazirmatn';
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgb(219 231 56 / 40%);
} 

/* Contact Info Sidebar */
.contact-info {
    background: #222;
    color: white;
    border-radius: 8px;
    padding: 30px;
    height: fit-content;
}

.contact-info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-subtitle {
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.contact-item-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item-content p {
    font-size: 14px;
    opacity: 0.9;
    margin: 2px 0;
    color: #f3d27a;
}

.social-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(255,255,255,0.3);
}


.glow-box {
  background: #222;
  color: white;
  padding: 20px;
  border-radius: 12px;
 
  transform: translateY(-8px);
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: rgba(255, 215, 0, 0.1) 0px 4px 12px;
  }
  100% {
    box-shadow: rgba(255, 215, 0, 0.7) 0px 12px 25px;
  }
}

#captchaCode{
    font-weight: bold;
    user-select: none;
    user-select: none;
    min-width: 80px;
    text-align: center;
    background: #343d55;
    color: #7184AD;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 3px;
    font-size: 1.2rem;
}

#captchaCode-label{
 color: #7184AD;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .captcha-row {
        flex-direction: column !important;
    }
    #captchaInput {
        max-width: 100% !important;
        margin-top: 0.5rem;
    }
    #captchaCode {
        min-width: auto !important;
        margin-right: 0 !important;
        font-size: 1.3rem; 
    }
}

/**chat room and messages**/
#ticket-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 500px;
    overflow-x: auto;
    
}

.chat-bubble {
    display: inline-block;
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 12px;
    word-wrap: break-word;
}

.chat-left {
    background-color: #f3f4f6;
    align-self: flex-start;
    text-align: right;
}

.chat-right {
    background-color: #d1fae5;
    align-self: flex-end;
    text-align: left;
}
.chat-back{
    border-radius: 10px;
    background: #6262628a;
}
.send-message-btn{
    padding: 10px 20px;
    background: linear-gradient(45deg, #f3d27a, #c9ad4d);
    color: black;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(53, 122, 189, 0.6);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.text-area-message{
    flex-grow: 1;
    padding: 10px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: none;
    transition: border-color 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Chat Area */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 25px #e5b84a55;
    border-radius: 10px;
  
}

.chat-header {
    padding: 20px 24px;
    border-bottom: 2px solid rgb(243, 210, 122);
    display: flex;
    align-items: center;
    gap: 16px;
    background: #222;
    border-radius: 10px;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1e1e1e, #f3d27a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    color: white;
}

.chat-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-info p {
    font-size: 14px;
    color: #888;
}

.chat-actions {
    margin-right: auto;
    display: flex;
    gap: 12px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    /* flex: 1; */
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #222;
}

.message {
    display: flex;
    gap: 12px;
    max-width: 70%;
}

.message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-bubble {
    background: linear-gradient(135deg, #f8f8f6, #f3d27a);
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.4;
    color: black;
    border-top-left-radius: 10px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.message.sent .message-bubble {
    background: linear-gradient(135deg, #43423f, #43423fb5);
    color: white;
    border-top-left-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.message-image-user{
    background: linear-gradient(135deg, #f8f8f6, #f3d27a);
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;

}

.message-image-support{
    background: linear-gradient(135deg, #f8f8f6, #f3d27a);
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;

}

.message-sticker {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
}

.sticker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-message {
    background: rgba(116, 75, 162, 0.3);
    padding: 12px 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #667eea;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.voice-waveform {
    flex: 1;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><rect x="2" y="8" width="2" height="4" fill="%23667eea"/><rect x="6" y="6" width="2" height="8" fill="%23667eea"/><rect x="10" y="4" width="2" height="12" fill="%23667eea"/><rect x="14" y="7" width="2" height="6" fill="%23667eea"/><rect x="18" y="5" width="2" height="10" fill="%23667eea"/><rect x="22" y="3" width="2" height="14" fill="%23667eea"/><rect x="26" y="6" width="2" height="8" fill="%23667eea"/><rect x="30" y="8" width="2" height="4" fill="%23667eea"/><rect x="34" y="5" width="2" height="10" fill="%23667eea"/><rect x="38" y="7" width="2" height="6" fill="%23667eea"/></svg>') repeat-x;
    background-size: 40px 20px;
}

.voice-time {
    font-size: 12px;
    color: #aaa;
}

.message-input-area {
    padding: 20px 24px;
    border-top: 1px solid rgb(243, 210, 122);
    background: rgba(26, 26, 46, 0.4);
    border-radius: 10px;
}

.input-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 12px 16px;
    direction: ltr;
}

.message-input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    outline: none;
    direction: rtl;
}

.message-input::placeholder {
    color: #888;
}

.input-actions {
    display: flex;
    gap: 8px;
}

.input-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.send-btn-message {
    background: linear-gradient(135deg, #f8f8f6, #f3d27a);
}
.send-btn-message svg {
    width: 18px;
    height: 18px;
    color: #000000; 
}

.message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}
.avatar-text {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #4CAF50;
    border: 2px solid #1a1a2e;
    border-radius: 50%;
}

#closeTicketSpan{
    background: linear-gradient(45deg, #9e9a9a, #f37ad2);
    color: black; 
    border: none; 
    padding: 8px 16px; 
    border-radius: 8px; font-weight: 600; 
    cursor: pointer;
    display: none;
}
#message-ticket-image-avatar{
   border: 2px solid rgb(243, 210, 122);
   width:32px;
   height:32px;
   border-radius:50%;
   object-fit:cover
}

.mobile-only {
    display: none;
}
.desktop-only {
    display: inline-flex; 
}
.mobile-menu{
    display: none;
}

.support_title {
    font-size: 14px !important;
    margin-bottom: 0px !important;
    color: #f3d27a !important;
    font-weight: 600 !important; 
    margin-top: 2% !important;
}
#support_name{
    color: white;
}

.ticket-closed-label {
    background: linear-gradient(45deg, #9e9a9a, #f37ad2);
    color: #000000;
    display: none !important;
    border-radius: 67px;
    text-align: center;
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 13px;
    margin-top: -6px;
    font-size: 14px;
    z-index: -1;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}





