html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, 
ul, li, form, input, textarea, button, select {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ø§Ù„Ù†Ø§ÙØ¨Ø§Ø± */
.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

/* Ø§Ù„Ø£Ø²Ø±Ø§Ø± */
.btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: #2c3e50;
}

/* Ø¥ØµÙ„Ø§Ø­ Ø£Ø²Ø±Ø§Ø± Ø§Ø®ØªÙŠØ§Ø± Ù†ÙˆØ¹ Ø§Ù„Ø­Ø³Ø§Ø¨ */
.auth-box .btn-outline {
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.auth-box .btn-outline:hover {
    background-color: #2c3e50;
    color: white;
}

.auth-box .btn-primary {
    background-color: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.form-control {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: white;
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* CTA Section */
.cta {
    background-color: #34495e;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* ØµÙØ­Ø© ØªØ³Ø¬ÙŠÙ„ Ø§Ù„Ø¯Ø®ÙˆÙ„ ÙˆØ§Ù„ØªØ³Ø¬ÙŠÙ„ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.auth-box {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 450px;
    width: 100%;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: #3498db;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ØµÙØ­Ø© Ø§Ù„Ø¨Ø­Ø« Ø¹Ù† Ø§Ù„Ø­Ø±ÙÙŠÙŠÙ† */
.search-header {
    background-color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.artisans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.artisan-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.artisan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.artisan-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.artisan-info {
    padding: 1.5rem;
}

.artisan-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.artisan-category {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.artisan-location {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.artisan-actions {
    display: flex;
    gap: 0.5rem;
}

/* ØµÙØ­Ø© Ø§Ù„Ø´Ø§Øª */
.chat-container {
    display: flex;
    height: calc(100vh - 70px);
    background-color: white;
}

.chat-sidebar {
    width: 350px;
    border-left: 1px solid #ddd;
    background-color: #f8f9fa;
}

.chat-header {
    padding: 1rem;
    background-color: #2c3e50;
    color: white;
}

.chat-list {
    overflow-y: auto;
    height: calc(100% - 60px);
}

.chat-item {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-item:hover {
    background-color: #e9ecef;
}

.chat-item.active {
    background-color: #d6e9f5;
}

.chat-item-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-item-info {
    flex: 1;
}

.chat-item-name {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.chat-item-last-message {
    font-size: 0.9rem;
    color: #7f8c8d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-time {
    font-size: 0.8rem;
    color: #95a5a6;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-top-bar {
    padding: 1rem;
    background-color: #ecf0f1;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-user-info {
    flex: 1;
}

.chat-user-name {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.chat-user-status {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.online-status {
    color: #27ae60;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f8f9fa;
}

.message-date-divider {
    text-align: center;
    margin: 1rem 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.message.sent {
    flex-direction: row-reverse;
}

.message-content {
    max-width: 60%;
    padding: 0.8rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message.sent .message-content {
    background-color: #3498db;
    color: white;
}

.message-text {
    margin-bottom: 0.3rem;
}

.message-audio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-player {
    width: 200px;
}

.message-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #95a5a6;
}

.message.sent .message-meta {
    color: rgba(255,255,255,0.8);
}

.read-indicator {
    color: #3498db;
}

.message.sent .read-indicator {
    color: white;
}

.message-actions {
    opacity: 0;
    transition: opacity 0.2s;
}

.message:hover .message-actions {
    opacity: 1;
}

.message-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    color: #7f8c8d;
}

.message-action-btn:hover {
    color: #e74c3c;
}

.chat-input-area {
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #ddd;
}

.chat-input-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
}

.chat-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #3498db;
    font-size: 1.5rem;
}

.chat-btn:hover {
    color: #2980b9;
}

.recording-indicator {
    color: #e74c3c;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recording-dot {
    width: 10px;
    height: 10px;
    background-color: #e74c3c;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Ù…Ù„Ù Ø§Ù„Ø­Ø±ÙÙŠ */
.profile-container {
    padding: 2rem 0;
}

.profile-header {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-category {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #f39c12;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.portfolio-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Ù†Ø§ÙØ°Ø© Ù…Ù†Ø¨Ø«Ù‚Ø© */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
}

/* Ø§Ø³ØªØ¬Ø§Ø¨Ø© Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ */
@media (max-width: 768px) {
    .chat-container {
        flex-direction: column;
    }
    
    .chat-sidebar {
        width: 100%;
        height: 50vh;
        border-left: none;
        border-bottom: 1px solid #ddd;
    }
    
    .artisans-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading {
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ø£Ù†Ù…Ø§Ø· Ù…Ø¤Ø´Ø± Ø§Ù„ØªØ­Ù…ÙŠÙ„ */
#uploadProgress {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ØªØ­Ø³ÙŠÙ† Ø¹Ø±Ø¶ Ù…Ø¹Ø§ÙŠÙ†Ø© Ø§Ù„Ù…Ù„ÙØ§Øª */
#selectedFilesPreview {
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 100px; }
}

/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ù…Ø¹Ø·Ù„Ø© */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ù†ÙˆØ§ÙØ° Ø§Ù„Ù…Ù†Ø¨Ø«Ù‚Ø© */
.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ØªØ­Ø³ÙŠÙ† Ù†Ø§ÙØ°Ø© Ø¹Ø±Ø¶ Ø§Ù„ØµÙˆØ± */
#imageModal {
    background-color: rgba(0, 0, 0, 0.95);
}

#imageModal .modal-content {
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ØªØ­Ø³ÙŠÙ† Ø¹Ø±Ø¶ ØµÙˆØ± Ø§Ù„Ù…Ø¹Ø±Ø¶ */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: 'ðŸ”';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: white;
    background: rgba(52, 152, 219, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    z-index: 1;
}

.portfolio-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-image {
    transition: transform 0.3s;
}

/* ØªØ­Ø³ÙŠÙ† Ø´Ø§Ø±Ø© Ø§Ù„ØªÙˆØ«ÙŠÙ‚ */
#verifiedBadge span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ØªØ­Ø³ÙŠÙ† Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ø¥Ø¬Ø±Ø§Ø¡Ø§Øª */
.profile-actions {
    animation: fadeInUp 0.6s;
}

.profile-actions button:active {
    transform: scale(0.95);
}

/* ØªØ­Ø³ÙŠÙ† Ø¹Ø±Ø¶ Ø§Ù„Ù…Ø¯Ù† */
#citiesList span {
    animation: fadeInScale 0.3s;
    animation-fill-mode: both;
}

#citiesList span:nth-child(1) { animation-delay: 0.1s; }
#citiesList span:nth-child(2) { animation-delay: 0.2s; }
#citiesList span:nth-child(3) { animation-delay: 0.3s; }
#citiesList span:nth-child(4) { animation-delay: 0.4s; }
#citiesList span:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ù…Ø´ØºÙ„ ØµÙˆØª Ø¨Ø³ÙŠØ· */
.message-audio {
    min-width: 200px;
}

.audio-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

.message.sent .audio-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.play-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    line-height: 1;
}

.play-btn:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.play-btn:active {
    transform: scale(0.95);
}

.message.sent .play-btn {
    background: rgba(255, 255, 255, 0.3);
}

.message.sent .play-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.audio-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.message.sent .audio-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Ø¥Ø®ÙØ§Ø¡ Ù…Ø´ØºÙ„ HTML5 Ø§Ù„Ø§ÙØªØ±Ø§Ø¶ÙŠ */
.message-audio audio {
    display: none;
}

/* ØªØ£Ø«ÙŠØ± Ø¹Ù†Ø¯ Ø§Ù„ØªØ­Ù…ÙŠÙ„ */
.custom-audio-player {
    animation: fadeInScale 0.3s;
}

/* Ø´Ø§Ø±Ø© Ø§Ù„Ø±Ø³Ø§Ø¦Ù„ ØºÙŠØ± Ø§Ù„Ù…Ù‚Ø±ÙˆØ¡Ø© */
.unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    display: none; /* Ù…Ø®ÙÙŠØ© Ø¨Ø´ÙƒÙ„ Ø§ÙØªØ±Ø§Ø¶ÙŠ */
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ÙˆØ¶Ø¹ÙŠØ© Ø§Ù„Ø²Ø± Ù…Ø¹ Ø§Ù„Ø´Ø§Ø±Ø© */
.btn-with-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Ø£Ù†ÙŠÙ…ÙŠØ´Ù† Ø§Ù„Ù†Ø¨Ø¶ */
.unread-badge.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(231, 76, 60, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* ØªØ­Ø³ÙŠÙ† Ù„Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ */
@media (max-width: 768px) {
    .unread-badge {
        top: -8px;
        right: -8px;
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        padding: 1px 4px;
    }
}

/* ════════════════════════════════════════════════════════════
   🔒 منع تحديد النص - نسخة محسّنة (بدون *)
   ════════════════════════════════════════════════════════════ */

/* تطبيق منع التحديد على body ليورّث لجميع العناصر */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* منع التحديد في العناصر الأساسية بشكل صريح */
div,
span,
h1, h2, h3, h4, h5, h6,
p,
button,
a,
img,
label,
li,
ul,
ol {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* السماح بالتحديد في حقول الإدخال */
input,
textarea,
select,
[contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* السماح بالتحديد في المحتوى النصي المهم */
.message-text,
.review-text,
.description,
.bio,
p.selectable {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* منع السحب والإفلات للصور */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
    -webkit-touch-callout: none;
}

/* منع التحديد في الأزرار والروابط */
button,
a,
.btn {
    -webkit-touch-callout: none;
}

/* منع التحديد في القوائم والنافبار */
.navbar,
.nav-links,
.menu,
nav,
header,
footer {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}