/* استایل‌های عمومی */
.pro-user-panel-wrap {
    font-family: Yekan, Arial, sans-serif !important;
    direction: rtl;
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.pro-user-panel-wrap.dark {
    background: #1e1e2f;
    color: #e0e0e0;
}

.sidebar {
    width: 250px;
    background: #f9f9f9;
    padding: 20px;
    border-left: 1px solid #ddd;
}

.pro-user-panel-wrap.dark .sidebar {
    background: #2a2a3d;
    border-left-color: #444;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-profile-image img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.sidebar h3 {
    margin: 10px 0;
    font-size: 18px;
}

.sidebar-notifications {
    position: relative;
}

.notifications-bell {
    font-size: 24px;
    cursor: pointer;
    color: #0073aa;
}

.pro-user-panel-wrap.dark .notifications-bell {
    color: #00a0d2;
}

.notifications-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.notifications-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px;
}

.pro-user-panel-wrap.dark .notifications-dropdown {
    background: #2a2a3d;
    border-color: #333;
}

.notifications-dropdown.active {
    display: block;
}

.notifications-dropdown h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.notifications-dropdown ul {
    list-style: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.notifications-dropdown li {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.pro-user-panel-wrap.dark .notifications-dropdown li {
    border-bottom-color: #444;
}

.notifications-dropdown li.unread {
    background: #f1f1f1;
}

.pro-user-panel-wrap.dark .notifications-dropdown li.unread {
    background: #333;
}

.notification-success { color: #28a745; }
.notification-error { color: #dc3545; }
.notification-info { color: #0073aa; }

.pro-user-panel-wrap.dark .notification-success { color: #34c759; }
.pro-user-panel-wrap.dark .notification-error { color: #ff2d55; }
.pro-user-panel-wrap.dark .notification-info { color: #00a0d2; }

.pro-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.pro-btn-save {
    background: 0073aa;
    color: #fff;
}

.pro-btn-save:hover {
    background: #005177;
}

.pro-btn-danger {
    background: #dc3545;
    color: #fff;
}

.pro-btn-danger:hover {
    background: #c82333;
}

.pro-user-panel-wrap.dark .pro-btn-save {
    background: #00a0d2;
}

.pro-user-panel-wrap.dark .pro-btn-save:hover {
    background: #0073aa;
}

.pro-user-panel-wrap.dark .pro-btn-danger {
    background: #ff2d55;
}

.pro-user-panel-wrap.dark .pro-btn-danger:hover {
    background: #dc3545;
}

.full-width-btn {
    width: 100%;
    margin-top: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    display: flex;
    margin-bottom: 12px;
}

.sidebar li a {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar li a:hover,
.sidebar li.active a {
    background: #e9ecef;
}

.pro-user-panel-wrap.dark .sidebar li a {
    color: #e0e0e0;
}

.pro-user-panel-wrap.dark .sidebar li a:hover,
.pro-user-panel-wrap.dark .sidebar li.active a {
    background: #333;
}

.main-content {
    flex: 1;
    padding: 25px;
}

.content-header h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.content-body {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
}

.pro-user-panel-wrap.dark .content-body {
    background: #2a2a3d;
}

.dashboard-welcome h2 {
    font-size: 22px;
    margin-bottom: 25px;
}

.dashboard-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.dashboard-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.pro-user-panel-wrap.dark .dashboard-card {
    background: #333;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-header .dashicons {
    color: #0073aa;
    font-size: 20px;
}

.pro-user-panel-wrap.dark .card-header .dashicons {
    color: #00a0d2;
}

.card-body p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.purchase-table {
    width: table;
    width:100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.purchase-table th,
.purchase-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.pro-user-panel-wrap.dark .purchase-table th,
.pro-user-panel-wrap.dark .purchase-table td {
    border-bottom-color: #444;
}

.purchase-table th {
    background: #f1f1f1;
    font-weight: bold;
}

.pro-user-panel-wrap.dark .purchase-table th {
    background: #444;
}

.profile-section,
.ticket-section,
.wallet-section,
.favorites-section {
    margin-bottom: 30px;
}

.profile-form,
.ticket-form,
.ticket-view,
.wallet-form {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.pro-user-panel-wrap.dark .profile-form,
.pro-user-panel-wrap.dark .ticket-form,
.pro-user-panel-wrap.dark .ticket-view,
.pro-user-panel-wrap.dark .wallet-form {
    background: #2a2a3d;
}

.pro-field-row {
    margin-bottom: 20px;
}

.pro-field-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.pro-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.pro-user-panel-wrap.dark .pro-input {
    background: #333;
    border-color: #555;
    color: #e0e0e0;
}

.pro-input:focus {
    border-color: #0073aa;
    outline: none;
}

.pro-user-panel-wrap.dark .pro-input:focus {
    border-color: #00a0d2;
}

.form-actions {
    margin-top: 25px;
    text-align: left;
}

.notice {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.notice-success {
    background: #d4edda;
    color: #155724;
}

.notice-error {
    background: #f8d7da;
    color: #721c24;
}

.wallet-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.ticket-view .chat-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 25px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.favorite-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.pro-user-panel-wrap.dark .favorite-item {
    background: #333;
}

.favorite-image img {
    max-width: 100%;
    border-radius: 5px;
}

.favorite-details h3 {
    margin: 15px 0 10px;
    font-size: 18px;
}

.favorite-details p {
    margin: 15px 0;
}