/* =============================================
   Support Module - Wizard & Ticket Styles
   ============================================= */

/* Override step width for 6 steps */
#support-wizard.wizard > .steps > ul > li {
    width: 16.66% !important;
}

#support-wizard.wizard > .steps a {
    padding: 10px 8px;
    font-size: 12px;
    margin: 0 2px 4px;
}

#support-wizard.wizard > .steps .number {
    font-size: 1.2em;
}

/* Current step */
#support-wizard.wizard > .steps .current a,
#support-wizard.wizard > .steps .current a:hover,
#support-wizard.wizard > .steps .current a:active {
    background: #3c8dbc;
    color: #fff;
}

/* Done steps */
#support-wizard.wizard > .steps .done a,
#support-wizard.wizard > .steps .done a:hover,
#support-wizard.wizard > .steps .done a:active {
    background: #00a65a;
    color: #fff;
}

/* Content area */
#support-wizard.wizard > .content {
    background: #fff;
    min-height: 420px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Action buttons */
#support-wizard.wizard > .actions a,
#support-wizard.wizard > .actions a:hover {
    background: #3c8dbc;
    border-radius: 3px;
    padding: 8px 25px;
    font-size: 14px;
}

#support-wizard.wizard > .actions .disabled a,
#support-wizard.wizard > .actions .disabled a:hover {
    background: #ccc;
    color: #999;
}

/* ---- Selection Cards ---- */
.support-card {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    margin-bottom: 15px;
    background: #fff;
    min-height: 120px;
    position: relative;
}

.support-card:hover {
    border-color: #3c8dbc;
    -webkit-box-shadow: 0 4px 15px rgba(60,141,188,0.15);
    box-shadow: 0 4px 15px rgba(60,141,188,0.15);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.support-card.selected {
    border-color: #3c8dbc;
    background: #eaf6fc;
    -webkit-box-shadow: 0 4px 15px rgba(60,141,188,0.25);
    box-shadow: 0 4px 15px rgba(60,141,188,0.25);
}

.support-card.selected::after {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    top: 8px;
    right: 10px;
    color: #3c8dbc;
    font-size: 16px;
}

.support-card .card-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.support-card .card-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    line-height: 1.3;
    display: block;
}

/* ---- Sub-module Items ---- */
.sub-module-item {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 12px 18px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    background: #fff;
    font-size: 14px;
}

.sub-module-item:hover {
    background: #f8f9fa;
    border-color: #3c8dbc;
    padding-left: 22px;
}

.sub-module-item.selected {
    background: #eaf6fc;
    border-color: #3c8dbc;
    color: #3c8dbc;
    font-weight: 600;
    padding-left: 22px;
}

.sub-module-item .fa {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* ---- Summary ---- */
.summary-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 14px;
    color: #333;
    margin-top: 4px;
}

/* ---- Section Titles ---- */
.step-title {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
    font-weight: 400;
}

/* ---- Validation Errors ---- */
.step-error {
    display: none;
    margin-top: 15px;
    text-align: center;
    color: #dd4b39;
    font-size: 13px;
}

/* ---- Ticket Detail (show) ---- */
.ticket-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.ticket-number {
    font-size: 20px;
    font-weight: 700;
    color: #3c8dbc;
}

.ticket-meta {
    color: #888;
    font-size: 13px;
    margin-top: 5px;
}

.ticket-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ticket-section-label {
    font-weight: 600;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding: 10px 0 10px 30px;
    border-left: 2px solid #ddd;
    margin-left: 10px;
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3c8dbc;
}

.timeline-item .timeline-date {
    font-size: 12px;
    color: #999;
}

.timeline-item .timeline-status {
    font-weight: 600;
    color: #333;
}

/* Timeline scroll container */
#timeline-section {
    max-height: 400px;
    overflow-y: auto;
}

/* Resolution box */
.conv-resolution-box {
    margin-top: 15px;
    border: 1px solid #d6e9c6;
    border-left: 4px solid #3c763d;
    border-radius: 4px;
    background: #dff0d8;
    padding: 12px 15px;
}

.conv-resolution-label {
    font-weight: 600;
    color: #3c763d;
    margin-bottom: 6px;
    font-size: 13px;
}

.conv-resolution-body {
    color: #3c763d;
    font-size: 13px;
    line-height: 1.5;
}

/* Attachment thumbnails */
.attachment-thumb {
    display: inline-block;
    width: 120px;
    height: 90px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 5px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attachment-thumb .file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 30px;
    color: #999;
    background: #f5f5f5;
}

/* ---- Clipboard Paste Zone ---- */
#clipboard-paste-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    outline: none;
    min-height: 80px;
}

#clipboard-paste-zone:focus,
#clipboard-paste-zone:hover {
    border-color: #3c8dbc;
    background: #f0f8ff;
}

#clipboard-paste-zone.has-files {
    border-color: #00a65a;
    background: #f9fff9;
}

#clipboard-paste-zone p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #888;
}

#clipboard-paste-zone kbd {
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 12px;
    color: #333;
}

#clipboard-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.clipboard-preview-item {
    display: inline-block;
    position: relative;
    width: 140px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.clipboard-preview-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.clipboard-preview-info {
    padding: 4px 6px;
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clipboard-preview-info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

.clipboard-preview-info .btn-xs {
    padding: 1px 4px;
    font-size: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    #support-wizard.wizard > .steps > ul > li {
        width: 33.33% !important;
    }

    #support-wizard.wizard > .steps a {
        font-size: 11px;
        padding: 8px 5px;
    }
}

@media (max-width: 768px) {
    #support-wizard.wizard > .steps > ul > li {
        width: 50% !important;
    }

    .support-card {
        padding: 15px 10px;
        min-height: 100px;
    }

    .support-card .card-icon {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    #support-wizard.wizard > .steps > ul > li {
        width: 100% !important;
    }
}

/* =============================================
   Support Notifications - Navbar Bell (v2)
   ============================================= */

/* -- Trigger icon -- */
.support-notif-wrapper {
    position: relative;
    display: inline-block;
}
.support-notif-trigger {
    display: inline-block;
    padding: 6px 10px;
    color: #fff;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-decoration: none !important;
    position: relative;
}
.support-notif-trigger:hover,
.support-notif-trigger:focus {
    color: #fff;
    background: rgba(255,255,255,0.15);
}
.support-notif-icon {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

/* -- Badge -- */
.support-notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    -webkit-animation: notif-pulse 2s infinite;
    animation: notif-pulse 2s infinite;
}
@-webkit-keyframes notif-pulse {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(231,76,60,0.5); box-shadow: 0 0 0 0 rgba(231,76,60,0.5); }
    70% { -webkit-box-shadow: 0 0 0 8px rgba(231,76,60,0); box-shadow: 0 0 0 8px rgba(231,76,60,0); }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(231,76,60,0); box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}
@keyframes notif-pulse {
    0% { box-shadow: 0 0 0 0 rgba(231,76,60,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(231,76,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}

/* -- Dropdown panel -- */
.support-notif-dropdown {
    width: 340px;
    padding: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    -webkit-box-shadow: 0 6px 30px rgba(0,0,0,0.18);
    box-shadow: 0 6px 30px rgba(0,0,0,0.18);
    overflow: hidden;
    margin-top: 6px !important;
}

/* -- Header -- */
.support-notif-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.support-notif-header-title {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}
.support-notif-header-actions {
    display: flex;
    gap: 4px;
}
.support-notif-header-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 3px 8px;
    color: #888;
    cursor: pointer;
    font-size: 12px;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
}
.support-notif-header-btn:hover {
    background: #f0f0f0;
    color: #333;
    border-color: #ccc;
}

/* -- Body / list -- */
.support-notif-body {
    max-height: 350px;
    overflow-y: auto;
    background: #fff;
}

/* -- Individual notification item -- */
.support-notif-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
    -webkit-transition: background 0.15s ease;
    transition: background 0.15s ease;
}
.support-notif-item:last-child {
    border-bottom: none;
}
.support-notif-item:hover {
    background: #f5f7fa !important;
}
.support-notif-item.notif-unread {
    background: #eef6ff;
}
.support-notif-item.notif-read {
    opacity: 0.65;
}

/* -- Item content -- */
.support-notif-item-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}
.support-notif-item-title {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    line-height: 1.3;
    margin-bottom: 2px;
}
.support-notif-item-msg {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 3px;
    word-wrap: break-word;
}
.support-notif-item-time {
    font-size: 11px;
    color: #aaa;
}
.support-notif-item-time .fa {
    margin-right: 3px;
}

/* -- Unread dot indicator -- */
.support-notif-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3498db;
    display: inline-block;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 10px;
    margin-top: 4px;
}

/* -- Empty state -- */
.support-notif-empty {
    padding: 30px 16px;
    text-align: center;
    color: #aaa;
}
.support-notif-empty .fa {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
    color: #00a65a;
}
.support-notif-empty span {
    font-size: 13px;
}

/* -- Footer -- */
.support-notif-footer {
    border-top: 1px solid #eee;
    background: #fafafa;
    text-align: center;
    padding: 10px;
}
.support-notif-footer a {
    color: #3c8dbc;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.support-notif-footer a:hover {
    color: #2b6a8e;
    text-decoration: underline;
}

/* -- Navbar icon links (tickets, etc.) -- */
.support-navbar-icon {
    display: inline-block;
    padding: 6px 10px;
    color: #fff;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-decoration: none !important;
    margin: 10px 0px 0 2px;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}
.support-navbar-icon:hover,
.support-navbar-icon:focus {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

/* -- Hidden state -- */
.notif-hidden {
    display: none !important;
}

/* =============================================
   Support Notification Ticker Bar
   ============================================= */
.support-ticker-bar {
    background: #fffbe6;
    border-left: 5px solid #f0ad4e;
    color: #856404;
    padding: 0 20px;
    height: 38px;
    line-height: 38px;
    -webkit-box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    position: relative;
    z-index: 999;
    overflow: hidden;
    -webkit-animation: ticker-fade-in 0.4s ease-out;
    animation: ticker-fade-in 0.4s ease-out;
}
.support-ticker-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}
.support-ticker-icon {
    font-size: 16px;
    color: #f0ad4e;
    margin-right: 10px;
    -webkit-animation: ticker-bell-shake 2s ease-in-out infinite;
    animation: ticker-bell-shake 2s ease-in-out infinite;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.support-ticker-msg {
    font-size: 13px;
    font-weight: 600;
    color: #856404;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.support-ticker-action {
    display: inline-block;
    margin-left: 14px;
    padding: 3px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #f0ad4e;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none !important;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.support-ticker-action:hover {
    background: #ec971f;
    color: #fff;
}
@-webkit-keyframes ticker-fade-in {
    0% { opacity: 0; -webkit-transform: translateY(-100%); transform: translateY(-100%); }
    100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes ticker-fade-in {
    0% { opacity: 0; transform: translateY(-100%); }
    100% { opacity: 1; transform: translateY(0); }
}
@-webkit-keyframes ticker-bell-shake {
    0%, 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    15% { -webkit-transform: rotate(14deg); transform: rotate(14deg); }
    30% { -webkit-transform: rotate(-12deg); transform: rotate(-12deg); }
    45% { -webkit-transform: rotate(8deg); transform: rotate(8deg); }
    60% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
}
@keyframes ticker-bell-shake {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(14deg); }
    30% { transform: rotate(-12deg); }
    45% { transform: rotate(8deg); }
    60% { transform: rotate(0deg); }
}

/* =============================================
   Support Notifications — Responsive
   ============================================= */
@media (max-width: 768px) {
    /* Dropdown: full width on mobile */
    .support-notif-dropdown {
        width: 100vw !important;
        max-width: 100vw !important;
        position: fixed !important;
        top: 50px !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    .support-notif-body {
        max-height: 60vh;
    }
    /* Ticker bar: stack vertically */
    .support-ticker-bar {
        padding: 8px 40px 8px 12px;
        height: auto;
        line-height: 1.4;
    }
    .support-ticker-inner {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .support-ticker-msg {
        white-space: normal;
        font-size: 12px;
    }
    .support-ticker-action {
        margin-left: 0;
        margin-top: 4px;
    }
}
@media (max-width: 480px) {
    .support-notif-header-title {
        font-size: 13px;
    }
    .support-notif-item {
        padding: 10px 12px;
    }
    .support-notif-item-title {
        font-size: 12px;
    }
}

/* =============================================
   Support Conversation Thread
   ============================================= */
.conversation-thread {
    max-height: 500px;
    overflow-y: auto;
    padding: 15px 0;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fafbfc;
    margin-top: 10px;
}

/* -- Message row -- */
.conv-message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 6px 15px;
    margin-bottom: 4px;
}
.conv-dev {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.conv-client {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

/* -- Bubble -- */
.conv-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    word-wrap: break-word;
}
.conv-dev .conv-bubble {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px 12px 12px 2px;
}
.conv-client .conv-bubble {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 12px 12px 2px 12px;
}

/* -- Header inside bubble -- */
.conv-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 4px;
    gap: 12px;
}
.conv-header strong {
    font-size: 12px;
    color: #555;
}
.conv-dev .conv-header strong {
    color: #3c8dbc;
}
.conv-client .conv-header strong {
    color: #1565c0;
}
.conv-time {
    font-size: 11px;
    color: #aaa;
    white-space: nowrap;
}

/* -- Body -- */
.conv-body {
    color: #333;
}

/* Rich HTML content from Hub (dev messages with formatting) */
.conv-rich-content strong, .conv-rich-content b { font-weight: 700; }
.conv-rich-content em, .conv-rich-content i { font-style: italic; }
.conv-rich-content del, .conv-rich-content s { text-decoration: line-through; opacity: 0.7; }
.conv-rich-content u { text-decoration: underline; }
.conv-rich-content a {
    color: #0066cc;
    text-decoration: underline;
    word-break: break-all;
}
.conv-rich-content a:hover { color: #004499; }
.conv-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 4px 0;
    cursor: pointer;
}
.conv-rich-content ul, .conv-rich-content ol {
    margin: 4px 0;
    padding-left: 22px;
}
.conv-rich-content ul { list-style: disc; }
.conv-rich-content ol { list-style: decimal; }
.conv-rich-content li { margin-bottom: 2px; }
.conv-rich-content code {
    background: rgba(0,0,0,0.06);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.85em;
    font-family: Consolas, 'Liberation Mono', Menlo, monospace;
    color: #c7254e;
}
.conv-rich-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: Consolas, 'Liberation Mono', Menlo, monospace;
    overflow-x: auto;
    margin: 6px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.conv-rich-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}
.conv-rich-content blockquote {
    border-left: 3px solid #dee2e6;
    padding-left: 12px;
    margin: 6px 0;
    color: #6c757d;
}
.conv-rich-content p {
    margin: 0 0 4px;
}
.conv-rich-content p:last-child {
    margin-bottom: 0;
}
.conv-rich-content .comment-file-link {
    display: inline-block;
    background: #f0f2f5;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 3px 10px;
    margin: 2px 0;
    color: #495057;
    text-decoration: none;
    font-size: 0.85em;
}
.conv-rich-content .comment-file-link:hover {
    background: #e2e6ea;
    color: #212529;
    text-decoration: none;
}

/* -- Attachments inside bubble -- */
.conv-attachments {
    margin-top: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 6px;
}
.conv-att-thumb {
    display: inline-block;
}
.conv-att-thumb img {
    max-width: 120px;
    max-height: 80px;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
}
.conv-att-thumb img:hover {
    opacity: 0.85;
}
.conv-att-file {
    display: inline-block;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
}
.conv-att-file:hover {
    background: rgba(0,0,0,0.1);
    color: #333;
    text-decoration: none;
}

/* -- Empty state -- */
.conv-empty {
    text-align: center;
    padding: 30px 15px;
    color: #bbb;
}
.conv-empty .fa {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}
.conv-empty p {
    font-size: 13px;
    margin: 0;
}

/* -- Reply form -- */
.conv-reply-form {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.conv-reply-input textarea {
    resize: vertical;
    border-radius: 8px;
    font-size: 13px;
}
.conv-reply-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 8px;
}
.conv-reply-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}
.conv-attach-btn {
    cursor: pointer;
    color: #888;
    font-size: 18px;
    margin: 0;
    padding: 4px 8px;
    border-radius: 4px;
    -webkit-transition: all 0.15s;
    transition: all 0.15s;
}
.conv-attach-btn:hover {
    color: #333;
    background: #f0f0f0;
}
.conv-file-count {
    font-size: 12px;
    color: #888;
}

/* -- File preview -- */
.conv-file-preview {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.conv-file-preview-item {
    position: relative;
    display: inline-block;
}
.conv-file-preview-item img {
    max-width: 80px;
    max-height: 60px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.conv-file-preview-item .conv-fp-name {
    display: inline-block;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    color: #666;
}
.conv-file-preview-item .conv-fp-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

/* -- Responsive -- */
@media (max-width: 768px) {
    .conv-bubble {
        max-width: 90%;
    }
    .conversation-thread {
        max-height: 400px;
    }
}

/* =============================================
   Skin overrides for light-header themes
   (skin-black and skin-black-light both render
   a white/light navbar, so icons must be dark)
   ============================================= */
.skin-black .support-notif-trigger,
.skin-black-light .support-notif-trigger,
.skin-black .support-navbar-icon,
.skin-black-light .support-navbar-icon {
    color: #333;
}
.skin-black .support-notif-trigger:hover,
.skin-black .support-notif-trigger:focus,
.skin-black-light .support-notif-trigger:hover,
.skin-black-light .support-notif-trigger:focus,
.skin-black .support-navbar-icon:hover,
.skin-black .support-navbar-icon:focus,
.skin-black-light .support-navbar-icon:hover,
.skin-black-light .support-navbar-icon:focus {
    color: #111;
    background: rgba(0, 0, 0, 0.08);
}
