    :root {
            --primary-gold: #D4AF37;
            --secondary-gold: #FFD700;
            --dark-bg: #000;
            --darker-bg: #111;
            --light-text: #fff;
            --gray-text: #e0e0e0;
            --success: #4CAF50;
            --danger: #F44336;
        }
        * {
            box-sizing: border-box;
            font-family: 'Tajawal', sans-serif;
            margin: 0;
            padding: 0;
        }
        body {
            background: var(--dark-bg);
            color: var(--light-text);
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .chat-header {
            align-items: center;
            background: var(--darker-bg);
            border-bottom: 3px solid var(--primary-gold);
            display: flex;
            flex-direction: column;
            padding: 1rem;
            position: sticky;
            top: 0;
            z-index: 10;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        .chat-header h1 {
            color: var(--primary-gold);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
            text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
            letter-spacing: 0.5px;
        }
        .chat-header p {
            color: var(--gray-text);
            font-size: 0.9rem;
            font-weight: 400;
        }
        .connection-status {
            background: rgba(76, 175, 80, 0.2);
            border: 1px solid rgba(76, 175, 80, 0.3);
            border-radius: 20px;
            color: #4CAF50;
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 600;
            margin-top: 0.5rem;
            padding: 0.3rem 0.7rem;
            letter-spacing: 0.5px;
        }
        .status-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
            justify-content: center;
            margin-top: 0.5rem;
        }
        .status-row .delete-chat-btn {
            margin-left: auto;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .header-actions {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            width: 100%;
            justify-content: flex-end;
        }
        .delete-chat-btn {
            background: var(--danger);
            color: var(--light-text);
            border: none;
            padding: 0.3rem 0.7rem;
            border-radius: 20px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }
        .delete-chat-btn:hover {
            background: #D32F2F;
            transform: scale(1.05);
        }
        .action-btn {
            align-items: center;
            background: var(--primary-gold);
            border: none;
            border-radius: 50%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            color: var(--dark-bg);
            cursor: pointer;
            display: flex;
            font-size: 1rem;
            height: 36px;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            width: 36px;
            flex-shrink: 0;
        }
        .action-btn:hover {
            background: var(--secondary-gold);
            transform: scale(1.1) translateY(-2px);
            box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
        }
        .action-btn:active {
            transform: scale(0.95);
        }
        .chat-container {
            display: flex;
            flex: 1;
            flex-direction: column;
            margin: 0;
            max-width: 100%;
            padding: 0.5rem;
            width: 100%;
            position: relative;
            overflow: hidden;
        }
        .messages-area {
            background: var(--darker-bg);
            border: 1px solid #333;
            border-radius: 18px;
            display: flex;
            flex: 1;
            flex-direction: column;
            gap: 1.5rem; /* تم التغيير هنا من 1rem إلى 1.5rem لزيادة المسافة */
            overflow-y: auto;
            padding: 1rem;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-gold) var(--darker-bg);
            margin-bottom: 120px;
            max-height: calc(100vh - 200px);
        }
        .messages-area::-webkit-scrollbar {
            width: 6px;
        }
        .messages-area::-webkit-scrollbar-track {
            background: var(--darker-bg);
        }
        .messages-area::-webkit-scrollbar-thumb {
            background-color: var(--primary-gold);
            border-radius: 10px;
        }
        .message {
            animation: fadeIn 0.4s ease;
            border: 2px solid transparent;
            border-radius: 20px;
            cursor: pointer;
            max-width: 75%;
            padding: 0.8rem 1rem;
            position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            touch-action: pan-y;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        .message.swipe-left {
            transform: translateX(-30px);
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
        }
        .message.swipe-right {
            transform: translateX(30px);
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
        }
        .message:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        .message.customer {
            align-self: flex-end;
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border-bottom-right-radius: 8px;
            box-shadow: 0 3px 12px rgba(212, 175, 55, 0.5);
            color: var(--dark-bg);
            font-weight: 500;
        }
        .message.admin {
            align-self: flex-start;
            background: linear-gradient(135deg, #333, #222);
            border-bottom-left-radius: 8px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
            color: var(--light-text);
            font-weight: 400;
        }
        .message-content {
            font-size: 0.95rem;
            line-height: 1.5;
            word-break: break-word;
            direction: rtl;
        }
        .message-info {
            align-items: center;
            display: flex;
            font-size: 0.7rem;
            gap: 0.5rem;
            justify-content: flex-end;
            margin-top: 0.6rem;
            opacity: 0.85;
        }
        .message.admin .message-info {
            justify-content: flex-start;
        }
        .message-reactions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
            margin-top: 0.6rem;
            padding-top: 0.3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .reaction {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: var(--light-text);
            cursor: pointer;
            display: flex;
            font-size: 0.75rem;
            gap: 0.2rem;
            padding: 0.2rem 0.5rem;
            transition: all 0.2s;
            align-items: center;
        }
        .reaction:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: scale(1.05);
        }
        .reply-indicator {
            animation: slideIn 0.3s ease;
            background: rgba(212, 175, 55, 0.08);
            border-left: 3px solid var(--primary-gold);
            border-radius: 12px;
            display: flex;
            font-size: 0.8rem;
            gap: 0.5rem;
            margin-bottom: 0.6rem;
            padding: 0.5rem 0.8rem;
            align-items: center;
        }
        .reply-indicator i {
            color: var(--primary-gold);
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-10px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .input-area {
            background: var(--darker-bg);
            border: 1px solid #333;
            border-radius: 18px;
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
            padding: 0.8rem;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 10;
        }
        .reply-preview {
            align-items: center;
            background: rgba(212, 175, 55, 0.15);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 12px;
            display: none;
            font-size: 0.8rem;
            gap: 0.5rem;
            max-width: 90%;
            padding: 0.5rem 0.8rem;
            position: relative;
            align-items: center;
        }
        .reply-preview.show {
            display: flex;
        }
        .cancel-reply {
            color: var(--danger);
            cursor: pointer;
            font-weight: bold;
            margin-left: auto;
            font-size: 1rem;
            padding: 4px;
            border-radius: 50%;
            transition: background 0.2s;
        }
        .cancel-reply:hover {
            background: rgba(244, 67, 54, 0.2);
        }
        .input-row {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            flex-wrap: nowrap;
            width: 100%;
        }
        .input-row input {
            background: #222;
            border: 1px solid #444;
            border-radius: 30px;
            color: var(--light-text);
            flex: 1;
            font-size: 0.9rem;
            outline: none;
            padding: 0.7rem 0.9rem;
            transition: all 0.3s;
            min-height: 40px;
            width: 100%;
        }
        .input-row input:focus {
            border-color: var(--secondary-gold);
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
        }
        .send-actions {
            display: flex;
            gap: 0.4rem;
            min-width: 90px;
            flex-shrink: 0;
        }
        .typing-indicator {
            align-self: flex-start;
            background: linear-gradient(135deg, #333, #222);
            border-bottom-left-radius: 8px;
            border-radius: 18px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
            color: var(--light-text);
            display: none;
            margin-bottom: 0.7rem;
            padding: 0.8rem 1rem;
            max-width: fit-content;
        }
        .typing-indicator span {
            animation: bounce 1.4s infinite ease-in-out both;
            background-color: var(--light-text);
            border-radius: 50%;
            display: inline-block;
            height: 8px;
            margin: 0 3px;
            width: 8px;
        }
        .typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
        .typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
        @keyframes bounce {
            0%, 80%, 100% { transform: scale(0); }
            40% { transform: scale(1.0); }
        }
        .profile-modal {
            align-items: center;
            backdrop-filter: blur(8px);
            background: rgba(0, 0, 0, 0.95);
            display: none;
            height: 100%;
            justify-content: center;
            left: 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 2000;
            flex-direction: column;
        }
        .profile-modal.show {
            display: flex;
        }
        .profile-content {
            background: var(--darker-bg);
            border: 3px solid var(--primary-gold);
            border-radius: 18px;
            padding: 1.2rem;
            text-align: center;
            max-width: 320px;
            width: 90%;
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
        }
        .profile-content h3 {
            color: var(--primary-gold);
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }
        .profile-content .input-group {
            margin-bottom: 0.8rem;
            text-align: right;
        }
        .profile-content .input-group label {
            color: var(--light-text);
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.4rem;
            text-align: right;
        }
        .profile-content input {
            background: #222;
            border: 2px solid #444;
            border-radius: 10px;
            color: var(--light-text);
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
            outline: none;
            padding: 0.7rem;
            text-align: right;
            transition: all 0.3s;
            width: 100%;
        }
        .profile-content input:focus {
            border-color: var(--secondary-gold);
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
        }
        .profile-content .error-message {
            color: var(--danger);
            display: none;
            font-size: 0.8rem;
            font-weight: 500;
            margin-top: 0.2rem;
            text-align: right;
        }
        .profile-content .btn-group {
            display: flex;
            gap: 0.7rem;
            justify-content: center;
            margin-top: 0.8rem;
        }
        .profile-content button {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border: none;
            border-radius: 25px;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
            color: var(--dark-bg);
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 700;
            padding: 0.6rem 1.5rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            min-height: 36px;
        }
        .profile-content button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
        }
        .profile-content button.cancel {
            background: linear-gradient(135deg, var(--danger), #D32F2F);
        }
        .profile-content button:hover {
            background: linear-gradient(135deg, #D32F2F, #B71C1C);
        }
        .welcome-modal {
            align-items: center;
            backdrop-filter: blur(8px);
            background: rgba(0, 0, 0, 0.95);
            display: none;
            height: 100%;
            justify-content: center;
            left: 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
        }
        .welcome-modal.show {
            animation: modalFadeIn 0.5s ease;
            display: flex;
        }
        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        .modal-content {
            animation: slideUp 0.6s ease;
            background: var(--darker-bg);
            border: 3px solid var(--primary-gold);
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
            max-width: 400px;
            padding: 1.5rem;
            text-align: center;
            width: 95%;
            position: relative;
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .modal-content h2 {
            color: var(--primary-gold);
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
        }
        .modal-content .subtitle {
            color: var(--gray-text);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 1.5rem;
        }
        .modal-content .input-group {
            margin-bottom: 1.2rem;
            text-align: right;
        }
        .modal-content .input-group label {
            color: var(--light-text);
            display: block;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-align: right;
        }
        .modal-content input {
            background: #222;
            border: 2px solid #444;
            border-radius: 10px;
            color: var(--light-text);
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
            outline: none;
            padding: 0.8rem;
            text-align: right;
            transition: all 0.3s;
            width: 100%;
        }
        .modal-content input:focus {
            border-color: var(--secondary-gold);
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
        }
        .modal-content .error-message {
            color: var(--danger);
            display: none;
            font-size: 0.85rem;
            font-weight: 500;
            margin-top: 0.3rem;
            text-align: right;
        }
        .modal-content button {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border: none;
            border-radius: 30px;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
            color: var(--dark-bg);
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 700;
            margin-top: 0.4rem;
            padding: 0.8rem 2rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            min-height: 50px;
        }
        .modal-content button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
        }
        .modal-content button:active {
            transform: translateY(1px);
        }
        .reactions-popup {
            backdrop-filter: blur(12px);
            background: var(--darker-bg);
            border: 2px solid var(--primary-gold);
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
            display: none;
            flex-wrap: wrap;
            gap: 0.5rem;
            min-width: 200px;
            padding: 0.8rem;
            position: absolute;
            z-index: 1000;
        }
        .reactions-popup.show {
            display: flex;
        }
        .reaction-btn {
            align-items: center;
            background: linear-gradient(135deg, #333, #222);
            border-radius: 50%;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
            color: var(--light-text);
            cursor: pointer;
            display: flex;
            font-size: 1.2rem;
            height: 38px;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            width: 38px;
        }
        .reaction-btn:hover {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            color: var(--dark-bg);
            transform: scale(1.2) rotate(5deg);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
        }
        .reaction-btn.selected-reaction {
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            color: var(--dark-bg);
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.6);
            border: 2px solid var(--secondary-gold);
        }
        .reaction-btn.selected-reaction:hover {
            transform: scale(1.3) rotate(10deg);
            box-shadow: 0 6px 18px rgba(255, 215, 0, 0.7);
        }
        .reaction-btn.delete {
            background: linear-gradient(135deg, var(--danger), #D32F2F);
        }
        .reaction-btn.delete:hover {
            background: linear-gradient(135deg, #D32F2F, #B71C1C);
            transform: scale(1.2);
        }
        .notification {
            animation: slideInRight 0.5s forwards, fadeOut 0.5s 3s forwards;
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border-radius: 30px;
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
            color: var(--dark-bg);
            font-size: 0.95rem;
            font-weight: 700;
            padding: 0.8rem 1.5rem;
            position: fixed;
            right: 15px;
            top: 15px;
            z-index: 2000;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        @keyframes slideInRight {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }
        .loading-overlay {
            align-items: center;
            backdrop-filter: blur(8px);
            background: rgba(0, 0, 0, 0.85);
            display: none;
            height: 100%;
            justify-content: center;
            left: 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 999;
        }
        .loading-overlay.show {
            display: flex;
        }
        .loading-spinner {
            animation: spin 1s linear infinite;
            border: 4px solid rgba(212, 175, 55, 0.3);
            border-radius: 50%;
            border-top: 4px solid var(--primary-gold);
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
            height: 50px;
            width: 50px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .welcome-message {
            align-items: center;
            color: var(--gray-text);
            display: flex;
            flex-direction: column;
            font-size: 1rem;
            gap: 0.7rem;
            justify-content: center;
            padding: 1.5rem 1rem;
            text-align: center;
        }
        .welcome-message i {
            animation: bounce 2s infinite;
            color: var(--primary-gold);
            font-size: 2.5rem;
        }
        @media (max-width: 768px) {
            .chat-header {
                padding: 0.7rem 0.9rem;
            }
            .chat-header h1 {
                font-size: 1.3rem;
            }
            .chat-header p {
                font-size: 0.8rem;
            }
            .connection-status {
                font-size: 0.65rem;
                padding: 0.25rem 0.5rem;
            }
            .status-row {
                margin-top: 0.4rem;
                gap: 0.4rem;
            }
            .status-row .delete-chat-btn {
                font-size: 0.7rem;
                padding: 0.25rem 0.5rem;
            }
            .header-actions {
                margin-bottom: 0.4rem;
            }
            .delete-chat-btn {
                font-size: 0.7rem;
                padding: 0.25rem 0.5rem;
            }
            .action-btn {
                height: 32px;
                width: 32px;
                font-size: 0.9rem;
            }
            .chat-container {
                padding: 0.3rem;
            }
            .messages-area {
                border-radius: 16px;
                padding: 0.8rem;
                gap: 1.2rem; /* تم تحديثها لتكون متناسقة مع الإصدار الجوال */
                margin-bottom: 100px;
            }
            .message {
                max-width: 85%;
                padding: 0.7rem 0.9rem;
                border-radius: 18px;
            }
            .message-content {
                font-size: 0.9rem;
                line-height: 1.4;
            }
            .message-info {
                font-size: 0.65rem;
                gap: 0.4rem;
                margin-top: 0.5rem;
            }
            .reaction {
                font-size: 0.7rem;
                padding: 0.15rem 0.4rem;
            }
            .reply-indicator {
                font-size: 0.75rem;
                padding: 0.4rem 0.7rem;
            }
            .input-area {
                border-radius: 16px;
                padding: 0.7rem;
            }
            .reply-preview {
                font-size: 0.75rem;
                padding: 0.4rem 0.7rem;
                max-width: 85%;
            }
            .input-row {
                gap: 0.4rem;
                flex-wrap: nowrap;
                align-items: center;
            }
            .input-row input {
                font-size: 0.85rem;
                padding: 0.6rem 0.8rem;
                min-height: 36px;
                width: 100%;
                flex: 1;
            }
            .send-actions {
                min-width: 80px;
                gap: 0.3rem;
                flex-shrink: 0;
            }
            .action-btn {
                height: 36px;
                width: 36px;
                font-size: 0.9rem;
                flex-shrink: 0;
            }
            .typing-indicator {
                padding: 0.7rem 0.9rem;
            }
            .typing-indicator span {
                height: 7px;
                width: 7px;
            }
            .modal-content, .profile-content {
                width: 95%;
                padding: 1.2rem;
                border-radius: 16px;
            }
            .modal-content h2, .profile-content h3 {
                font-size: 1.4rem;
            }
            .modal-content .subtitle {
                font-size: 0.9rem;
                margin-bottom: 1.2rem;
            }
            .modal-content .input-group label, .profile-content .input-group label {
                font-size: 0.95rem;
            }
            .modal-content input, .profile-content input {
                font-size: 0.9rem;
                padding: 0.7rem;
                border-radius: 8px;
            }
            .modal-content button, .profile-content button {
                font-size: 1rem;
                padding: 0.7rem 1.8rem;
                min-height: 45px;
                border-radius: 25px;
            }
            .reaction-btn {
                height: 34px;
                width: 34px;
                font-size: 1.1rem;
            }
            .notification {
                font-size: 0.9rem;
                padding: 0.7rem 1.2rem;
                right: 10px;
                top: 10px;
            }
            .loading-spinner {
                height: 45px;
                width: 45px;
                border-width: 3px;
            }
            .welcome-message {
                font-size: 0.9rem;
                padding: 1.2rem 0.5rem;
            }
            .welcome-message i {
                font-size: 2rem;
            }
        }
        @media (max-width: 480px) {
            .chat-header h1 {
                font-size: 1.1rem;
            }
            .chat-header p {
                font-size: 0.75rem;
            }
            .connection-status {
                font-size: 0.6rem;
                padding: 0.2rem 0.4rem;
            }
            .status-row {
                gap: 0.3rem;
            }
            .status-row .delete-chat-btn {
                font-size: 0.65rem;
                padding: 0.2rem 0.4rem;
            }
            .header-actions {
                margin-bottom: 0.3rem;
            }
            .delete-chat-btn {
                font-size: 0.65rem;
                padding: 0.2rem 0.4rem;
            }
            .action-btn {
                height: 30px;
                width: 30px;
                font-size: 0.85rem;
            }
            .message {
                max-width: 90%;
                padding: 0.6rem 0.8rem;
            }
            .message-content {
                font-size: 0.85rem;
            }
            .input-row {
                gap: 0.3rem;
                flex-wrap: nowrap;
            }
            .input-row input {
                padding: 0.5rem 0.7rem;
                font-size: 0.8rem;
                min-height: 34px;
                width: 100%;
            }
            .send-actions {
                min-width: 70px;
                gap: 0.2rem;
                flex-shrink: 0;
            }
            .action-btn {
                height: 34px;
                width: 34px;
                font-size: 0.85rem;
                flex-shrink: 0;
            }
            .modal-content, .profile-content {
                padding: 1rem;
            }
            .modal-content h2, .profile-content h3 {
                font-size: 1.3rem;
            }
            .modal-content button, .profile-content button {
                font-size: 0.95rem;
                padding: 0.6rem 1.5rem;
                min-height: 40px;
            }
            .reaction-btn {
                height: 32px;
                width: 32px;
                font-size: 1rem;
            }
            .welcome-message {
                font-size: 0.85rem;
                padding: 1rem 0.4rem;
            }
            .welcome-message i {
                font-size: 1.8rem;
            }
            .messages-area {
                margin-bottom: 90px;
            }
        }
