/* ========================================
   ðŸŽ¨ SarvHost Header Styles
   Professional & Modern Design
   ======================================== */

/* ----------------------------------------
   Variables
   ---------------------------------------- */
:root {
    --sh-primary: #6366f1;
    --sh-primary-dark: #4f46e5;
    --sh-primary-light: #e0e7ff;
    --sh-secondary: #8b5cf6;
    --sh-dark: #1e293b;
    --sh-darker: #0f172a;
    --sh-text: #334155;
    --sh-text-light: #64748b;
    --sh-text-muted: #94a3b8;
    --sh-white: #ffffff;
    --sh-bg: #f8fafc;
    --sh-border: #e2e8f0;
    --sh-success: #10b981;
    --sh-danger: #ef4444;
    --sh-radius: 12px;
    --sh-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --sh-shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.15);
}

/* ----------------------------------------
   Top Bar
   ---------------------------------------- */
.sh-topbar {
    background: var(--sh-darker);
    padding: 10px 0;
    font-size: 0.85rem;
}

.sh-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.sh-topbar .sh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sh-topbar-left,
.sh-topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.sh-topbar-item {
    color: rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s;
}

.sh-topbar-item:hover {
    color: #fff;
}

.sh-topbar-item i {
    font-size: 0.9rem;
}

.sh-status-ok {
    color: var(--sh-success) !important;
}

.sh-status-ok i {
    font-size: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ----------------------------------------
   Main Header
   ---------------------------------------- */
.sh-header {
    background: var(--sh-white);
    padding: 15px 0;
    box-shadow: var(--sh-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sh-header .sh-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* ----------------------------------------
   Logo
   ---------------------------------------- */
.sh-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.sh-logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.sh-logo-text {
    display: flex;
    flex-direction: column;
}

.sh-logo-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sh-dark);
    line-height: 1.2;
}

.sh-logo-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--sh-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.sh-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sh-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: var(--sh-text);
    font-weight: 500;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: var(--sh-radius);
    transition: all 0.3s;
}

.sh-nav-link:hover {
    color: var(--sh-primary);
    background: var(--sh-primary-light);
}

.sh-nav-link i:not(.sh-arrow) {
    font-size: 0.9rem;
    opacity: 0.7;
}

.sh-nav-link .sh-arrow {
    font-size: 0.7rem;
    margin-left: 3px;
    transition: transform 0.3s;
}

/* Dropdown */
.sh-nav-dropdown {
    position: relative;
}

.sh-nav-dropdown:hover .sh-arrow {
    transform: rotate(180deg);
}

.sh-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--sh-white);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1001;
    border: 1px solid var(--sh-border);
}

.sh-nav-dropdown:hover .sh-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.sh-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--sh-text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.sh-dropdown-menu a:hover {
    background: var(--sh-primary-light);
    color: var(--sh-primary);
}

.sh-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--sh-primary);
    opacity: 0.7;
}

/* ----------------------------------------
   User Area
   ---------------------------------------- */
.sh-user-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.sh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--sh-radius);
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.sh-btn-outline {
    background: transparent;
    border-color: var(--sh-border);
    color: var(--sh-text);
}

.sh-btn-outline:hover {
    border-color: var(--sh-primary);
    color: var(--sh-primary);
    background: var(--sh-primary-light);
}

.sh-btn-primary {
    background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
    color: #fff;
    border: none;
}

.sh-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99,102,241,0.4);
    color: #fff;
}

/* User Dropdown */
.sh-user-dropdown {
    position: relative;
}

.sh-user-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px 8px 8px;
    background: var(--sh-bg);
    border: 1px solid var(--sh-border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.sh-user-btn:hover {
    border-color: var(--sh-primary);
    box-shadow: 0 0 0 3px var(--sh-primary-light);
}

.sh-user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.sh-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sh-user-name {
    font-weight: 600;
    color: var(--sh-dark);
    font-size: 0.9rem;
    line-height: 1.2;
}

.sh-user-email {
    font-size: 0.75rem;
    color: var(--sh-text-muted);
}

.sh-user-btn > i {
    color: var(--sh-text-muted);
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.sh-user-dropdown:hover .sh-user-btn > i {
    transform: rotate(180deg);
}

/* User Menu */
.sh-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--sh-white);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-lg);
    padding: 10px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1001;
    border: 1px solid var(--sh-border);
}

.sh-user-dropdown:hover .sh-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sh-user-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--sh-text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.sh-user-menu a:hover {
    background: var(--sh-primary-light);
    color: var(--sh-primary);
}

.sh-user-menu a i {
    width: 18px;
    text-align: center;
    color: var(--sh-primary);
}

.sh-menu-divider {
    height: 1px;
    background: var(--sh-border);
    margin: 8px 0;
}

.sh-user-menu .sh-logout {
    color: var(--sh-danger);
}

.sh-user-menu .sh-logout i {
    color: var(--sh-danger);
}

.sh-user-menu .sh-logout:hover {
    background: #fee2e2;
}

/* ----------------------------------------
   Mobile Toggle
   ---------------------------------------- */
.sh-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.sh-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--sh-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ----------------------------------------
   Page Header
   ---------------------------------------- */
.sh-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sh-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.sh-page-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
}

.sh-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.sh-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.sh-breadcrumb a:hover {
    color: #fff;
}

.sh-breadcrumb-sep {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}

.sh-breadcrumb-current {
    color: rgba(255,255,255,0.6);
}

/* ----------------------------------------
   Main Content
   ---------------------------------------- */
.sh-main {
    padding: 40px 0;
    min-height: 50vh;
}

.sh-main > .sh-container {
    background: var(--sh-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--sh-shadow);
}

/* ----------------------------------------
   Hide Original WHMCS Header
   ---------------------------------------- */
#header,
#main-menu,
section#header,
section#main-menu {
    display: none !important;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 1200px) {
    .sh-nav {
        gap: 0;
    }
    
    .sh-nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .sh-nav,
    .sh-user-area {
        display: none;
    }
    
    .sh-mobile-toggle {
        display: flex;
    }
    
    .sh-page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .sh-topbar .sh-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .sh-topbar-left,
    .sh-topbar-right {
        justify-content: center;
    }
    
    .sh-page-header {
        padding: 35px 0;
    }
    
    .sh-page-title {
        font-size: 1.5rem;
    }
    
    .sh-main > .sh-container {
        padding: 25px;
        margin: 0 15px;
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .sh-topbar-left,
    .sh-topbar-right {
        flex-direction: column;
        gap: 8px;
    }
    
    .sh-logo-tagline {
        display: none;
    }
}
/* ========================================
   🎫 SUPPORT TICKETS - شیک و حرفه‌ای
   ======================================== */

/* Tickets Page Header */
.sh-tickets-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 35px !important;
    padding: 30px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3) !important;
}

.sh-tickets-title {
    color: #fff !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sh-tickets-title i {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.sh-new-ticket-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 32px !important;
    background: #fff !important;
    color: #667eea !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sh-new-ticket-btn:hover {
    background: #f8fafc !important;
    color: #764ba2 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.sh-new-ticket-btn i {
    font-size: 1.8rem;
}

/* Tickets Filter */
.sh-tickets-filter {
    display: flex !important;
    gap: 14px !important;
    margin-bottom: 28px !important;
    flex-wrap: wrap;
}

.sh-filter-btn {
    padding: 14px 28px !important;
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    color: #64748b !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.sh-filter-btn:hover {
    border-color: #667eea !important;
    color: #667eea !important;
    background: #f0f4ff !important;
}

.sh-filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Tickets List Container */
.sh-tickets-container {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 35px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* Single Ticket Item */
.sh-ticket-item {
    display: grid !important;
    grid-template-columns: auto 1fr auto auto auto !important;
    gap: 24px !important;
    align-items: center !important;
    padding: 24px 28px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
    transition: all 0.3s !important;
    cursor: pointer;
}

.sh-ticket-item:hover {
    background: linear-gradient(135deg, #f0f4ff, #e0e7ff) !important;
    border-color: #667eea !important;
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.sh-ticket-icon {
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.8rem !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.sh-ticket-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sh-ticket-subject {
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.sh-ticket-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.4rem;
    color: #64748b;
}

.sh-ticket-id {
    font-weight: 600;
    color: #667eea;
}

.sh-ticket-department {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sh-ticket-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sh-ticket-priority {
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

.sh-priority-low {
    background: #dbeafe !important;
    color: #1e40af !important;
}

.sh-priority-medium {
    background: #fef3c7 !important;
    color: #92400e !important;
}

.sh-priority-high {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.sh-ticket-status {
    padding: 10px 22px !important;
    border-radius: 25px !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

.sh-status-open {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
    color: #065f46 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.sh-status-answered {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
    color: #1e40af !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.sh-status-customer-reply {
    background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
    color: #92400e !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.sh-status-closed {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
    color: #475569 !important;
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.15);
}

.sh-ticket-arrow {
    color: #cbd5e1 !important;
    font-size: 1.6rem !important;
    transition: all 0.3s;
}

.sh-ticket-item:hover .sh-ticket-arrow {
    color: #667eea !important;
    transform: translateX(5px);
}

/* ========================================
   📝 OPEN NEW TICKET - فرم ارسال
   ======================================== */

.sh-ticket-form-container {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

.sh-form-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
}

.sh-form-title {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #1e293b !important;
    margin: 0 0 10px 0 !important;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sh-form-title i {
    color: #667eea;
    font-size: 2rem;
}

.sh-form-subtitle {
    font-size: 1.5rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

.sh-form-group {
    margin-bottom: 28px !important;
}

.sh-form-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 12px !important;
}

.sh-form-label i {
    color: #667eea;
    font-size: 1.4rem;
}

.sh-form-required {
    color: #ef4444 !important;
    font-size: 1.6rem;
}

.sh-form-input,
.sh-form-select,
.sh-form-textarea {
    width: 100% !important;
    padding: 16px 20px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 1.5rem !important;
    color: #1e293b !important;
    background: #fff !important;
    transition: all 0.3s !important;
}

.sh-form-input:focus,
.sh-form-select:focus,
.sh-form-textarea:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

.sh-form-textarea {
    min-height: 200px !important;
    resize: vertical !important;
    font-family: inherit !important;
}

.sh-form-help {
    font-size: 1.3rem !important;
    color: #64748b !important;
    margin-top: 8px !important;
}

/* File Upload */
.sh-file-upload {
    border: 3px dashed #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 35px !important;
    text-align: center !important;
    background: #f8fafc !important;
    transition: all 0.3s !important;
    cursor: pointer;
}

.sh-file-upload:hover {
    border-color: #667eea !important;
    background: #f0f4ff !important;
}

.sh-file-upload-icon {
    font-size: 3.5rem !important;
    color: #cbd5e1 !important;
    margin-bottom: 16px;
}

.sh-file-upload:hover .sh-file-upload-icon {
    color: #667eea !important;
}

.sh-file-upload-text {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 8px;
}

.sh-file-upload-hint {
    font-size: 1.3rem !important;
    color: #94a3b8 !important;
}

/* Form Actions */
.sh-form-actions {
    display: flex !important;
    gap: 16px !important;
    margin-top: 35px !important;
    padding-top: 30px !important;
    border-top: 2px solid #f1f5f9;
}

.sh-btn-submit {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 18px 35px !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.sh-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.sh-btn-cancel {
    padding: 18px 35px !important;
    background: #fff !important;
    color: #64748b !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
}

.sh-btn-cancel:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

/* ========================================
   💬 VIEW TICKET - مشاهده تیکت
   ======================================== */

.sh-ticket-view-container {
    background: #fff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* Ticket Header */
.sh-ticket-view-header {
    padding: 32px 40px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff;
}

.sh-ticket-view-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sh-ticket-view-subject {
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 !important;
}

.sh-ticket-view-status {
    padding: 10px 24px !important;
    background: rgba(255,255,255,0.2) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: 25px !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.sh-ticket-view-meta {
    display: flex;
    gap: 30px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.sh-ticket-view-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sh-ticket-view-meta-item i {
    font-size: 1.4rem;
}

/* Ticket Messages */
.sh-ticket-messages {
    padding: 35px 40px !important;
}

.sh-ticket-message {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 28px !important;
    padding: 28px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    transition: all 0.3s;
}

.sh-ticket-message:hover {
    background: #f0f4ff !important;
    border-color: #c7d2fe !important;
}

.sh-message-avatar {
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.sh-message-content {
    flex: 1;
}

.sh-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.sh-message-author {
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
}

.sh-message-date {
    font-size: 1.4rem !important;
    color: #64748b !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sh-message-text {
    font-size: 1.5rem !important;
    color: #475569 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Admin Message */
.sh-ticket-message.sh-admin-message {
    background: linear-gradient(135deg, #f0f4ff, #e0e7ff) !important;
    border-color: #c7d2fe !important;
}

.sh-admin-message .sh-message-avatar {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* Reply Form */
.sh-ticket-reply {
    padding: 35px 40px !important;
    border-top: 2px solid #f1f5f9 !important;
    background: #fafbfc !important;
}

.sh-reply-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 0 24px 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sh-reply-title i {
    color: #667eea;
}

/* ========================================
   📂 DEPARTMENTS - دپارتمان‌ها
   ======================================== */

.sh-departments-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 24px !important;
}

.sh-department-card {
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 32px !important;
    transition: all 0.3s !important;
    cursor: pointer;
    text-decoration: none !important;
}

.sh-department-card:hover {
    background: linear-gradient(135deg, #f0f4ff, #e0e7ff) !important;
    border-color: #667eea !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
}

.sh-department-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.sh-department-name {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 0 12px 0 !important;
}

.sh-department-desc {
    font-size: 1.5rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Empty State */
.sh-empty-tickets {
    text-align: center !important;
    padding: 80px 40px !important;
}

.sh-empty-icon {
    font-size: 6rem !important;
    color: #cbd5e1 !important;
    margin-bottom: 24px;
}

.sh-empty-title {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #475569 !important;
    margin: 0 0 12px 0 !important;
}

.sh-empty-text {
    font-size: 1.6rem !important;
    color: #94a3b8 !important;
    margin: 0 0 30px 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .sh-ticket-item {
        grid-template-columns: auto 1fr !important;
        gap: 16px !important;
    }
    
    .sh-ticket-priority,
    .sh-ticket-arrow {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .sh-tickets-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .sh-tickets-title {
        font-size: 2rem !important;
    }
    
    .sh-ticket-item {
        padding: 20px !important;
    }
    
    .sh-ticket-subject {
        font-size: 1.5rem !important;
    }
    
    .sh-departments-grid {
        grid-template-columns: 1fr !important;
    }
}