/* * ============================================= * AURA MESSAGING APP STYLESHEET (FINAL) * ============================================= */ /* ======== 1. ROOT VARIABLES & GLOBAL STYLES ======== */ :root { --primary-color: #6a11cb; --secondary-color: #2575fc; --background-color: #f0f2f5; --surface-color: #ffffff; --text-primary: #1c1e21; --text-secondary: #65676b; --border-color: #dcdfe3; --success-color: #42b72a; --error-color: #f02849; --shadow: 0 4px 12px rgba(0, 0, 0, 0.1); --glass-bg: rgba(255, 255, 255, 0.15); --sent-msg-bg: #e0f0ff; --received-msg-bg: #ffffff; --reaction-bg: #e9ebee; } [data-theme="dark"] { --primary-color: #8a3ffc; --secondary-color: #33b1ff; --background-color: #121212; --surface-color: #1e1e1e; --text-primary: #e4e6eb; --text-secondary: #b0b3b8; --border-color: #393a3b; --success-color: #58cc43; --error-color: #ff4d6a; --shadow: 0 4px 12px rgba(0, 0, 0, 0.4); --glass-bg: rgba(30, 30, 30, 0.15); --sent-msg-bg: #263951; --received-msg-bg: #333333; --reaction-bg: #3a3b3c; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } html, body { height: 100%; width: 100%; background-color: var(--background-color); color: var(--text-primary); transition: background-color 0.3s, color 0.3s; } .hidden { display: none !important; } a { text-decoration: none; color: inherit; } /* ======== 2. AUTHENTICATION CONTAINER ======== */ #auth-container { display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); transition: opacity 0.5s ease-out; } .auth-form-wrapper { width: 100%; max-width: 400px; padding: 2.5rem; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); transform: scale(0.95); opacity: 0; animation: fadeInScale 0.5s forwards ease-out; } @keyframes fadeInScale { to { transform: scale(1); opacity: 1; } } #auth-container form { display: flex; flex-direction: column; gap: 1.5rem; transition: transform 0.4s ease, opacity 0.4s ease; } #auth-container form.hidden { position: absolute; transform: translateX(-50px); opacity: 0; pointer-events: none; } #auth-container h2 { color: #fff; text-align: center; font-weight: 600; } .input-group { position: relative; } .input-group input { width: 100%; padding: 10px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 8px; background: transparent; color: #fff; font-size: 1rem; } .input-group input:focus { outline: none; border-color: #fff; } .input-group label { position: absolute; left: 10px; top: 10px; color: rgba(255, 255, 255, 0.7); pointer-events: none; transition: all 0.2s ease; } .input-group input:focus + label, .input-group input:valid + label, .input-group label.active { top: -10px; left: 8px; font-size: 0.75rem; background: var(--secondary-color); padding: 0 4px; border-radius: 4px; color: #fff; } .auth-btn { padding: 12px; border: none; border-radius: 8px; background: #fff; color: var(--primary-color); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; } .auth-btn:hover { background: var(--primary-color); color: #fff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); } .form-switcher { color: rgba(255, 255, 255, 0.9); text-align: center; font-size: 0.9rem; } .form-switcher a { color: #fff; font-weight: 600; } /* ======== 3. MAIN APP LAYOUT (FIXED) ======== */ #app-container { display: flex; height: 100vh; width: 100%; position: relative; overflow: hidden; opacity: 0; transition: opacity 0.5s ease-in; } #app-container.visible { opacity: 1; } #sidebar { width: 320px; flex-shrink: 0; background-color: var(--surface-color); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.4s ease, background-color 0.3s, border-color 0.3s; z-index: 101; } #chat-area { flex-grow: 1; display: flex; flex-direction: column; position: relative; } /* ======== 4. SIDEBAR & HEADER STYLES ======== */ #sidebar .sidebar-header { padding: 1.5rem; border-bottom: 1px solid var(--border-color); } .profile-card { text-align: center; } .profile-card img { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 1rem; object-fit: cover; } .profile-colorful { --angle: 0deg; border-width: 3px; border-style: solid; border-image: conic-gradient(from var(--angle), #8a3ffc, #33b1ff, #f02849, #42b72a, #8a3ffc) 1; animation: 5s rotate linear infinite; } @keyframes rotate { to { --angle: 360deg; } } @property --angle { syntax: ''; initial-value: 0deg; inherits: false; } #user-display-name-sidebar { font-size: 1.2rem; font-weight: 600; } #user-status-sidebar { font-size: 0.9rem; color: var(--text-secondary); } .sidebar-menu { list-style: none; flex-grow: 1; padding-top: 1rem; } .sidebar-menu li { display: flex; align-items: center; padding: 1rem 1.5rem; cursor: pointer; } .sidebar-menu li:hover { background-color: rgba(128, 128, 128, 0.1); } .sidebar-menu li > a { display: flex; align-items: center; width: 100%; } .sidebar-menu i { font-size: 1.2rem; width: 40px; text-align: center; margin-right: 1rem; color: var(--text-secondary); } .sidebar-menu span { font-size: 1rem; } .sidebar-menu .switch { margin-left: auto; position: relative; display: inline-block; width: 50px; height: 28px; } .sidebar-menu .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; } .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; } input:checked + .slider { background-color: var(--primary-color); } input:checked + .slider:before { transform: translateX(22px); } .slider.round { border-radius: 34px; } .slider.round:before { border-radius: 50%; } .chat-area-header { display: flex; align-items: center; padding: 10px 16px; background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); height: 60px; flex-shrink: 0; } #header-title { font-size: 1.25rem; margin-left: 1rem; } .header-icons { margin-left: auto; display: flex; gap: 10px; } .notification-btn { position: relative; } .badge { position: absolute; top: 2px; right: 2px; background-color: var(--error-color); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 0.7rem; font-weight: 600; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface-color); } .icon-btn { background: none; border: none; color: var(--text-secondary); font-size: 1.4rem; cursor: pointer; padding: 8px; border-radius: 50%; transition: background-color 0.2s, color 0.2s; } .icon-btn:hover { background-color: rgba(128, 128, 128, 0.1); } /* ======== 5. CHAT LIST ======== */ #chat-list-container { flex-grow: 1; overflow-y: auto; position: relative; } .search-bar { padding: 10px 16px; position: relative; border-bottom: 1px solid var(--border-color); } .search-bar i { position: absolute; top: 50%; transform: translateY(-50%); left: 28px; color: var(--text-secondary); } .search-bar input { width: 100%; padding: 8px 16px 8px 40px; border-radius: 20px; border: none; background-color: var(--background-color); color: var(--text-primary); } .search-bar input:focus { outline: none; } #chat-list { list-style: none; } .chat-item { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; transition: background-color 0.2s; position: relative; } .chat-item:hover { background-color: rgba(128, 128, 128, 0.05); } .chat-item:hover .delete-chat-btn { opacity: 1; transform: scale(1); } .chat-item + .chat-item { border-top: 1px solid var(--border-color); } .chat-item img { width: 50px; height: 50px; border-radius: 50%; margin-right: 15px; object-fit: cover; } .chat-item-details { flex-grow: 1; min-width: 0; } .chat-item-details h3 { font-size: 1rem; font-weight: 500; } .chat-item-details p { font-size: 0.9rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chat-item-meta { text-align: right; } .timestamp { font-size: 0.75rem; color: var(--text-secondary); } .delete-chat-btn { position: absolute; top: 50%; right: 16px; transform: translateY(-50%) scale(0.8); background: var(--error-color); color: white; border: none; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; opacity: 0; transition: opacity 0.2s, transform 0.2s; } /* ======== 6. MESSAGE VIEW ======== */ #message-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--background-color); z-index: 20; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); pointer-events: none; } #message-container.active { transform: translateX(0); pointer-events: auto; } .message-header { display: flex; align-items: center; padding: 10px 16px; background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); height: 60px; flex-shrink: 0; } .message-header img { width: 40px; height: 40px; border-radius: 50%; margin: 0 10px; object-fit: cover; } .chat-partner-info h3 { font-size: 1.1rem; font-weight: 600; } .chat-partner-info .status { font-size: 0.8rem; color: var(--success-color); } .call-buttons { margin-left: auto; } .call-buttons .icon-btn { margin-left: 10px; font-size: 1.2rem; } #messages-list-wrapper { flex-grow: 1; overflow-y: auto; position: relative; } #messages-list { display: flex; flex-direction: column; padding: 20px; } #date-separator { position: sticky; top: 10px; z-index: 5; margin: 0 auto; background-color: var(--surface-color); box-shadow: var(--shadow); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; opacity: 0; transition: opacity 0.3s ease; width: max-content; } #date-separator.visible { opacity: 1; } .message-wrapper { display: flex; flex-direction: column; max-width: 70%; margin-bottom: 10px; position: relative; } .message-wrapper.sent { align-self: flex-end; } .message-wrapper.received { align-self: flex-start; } .message { padding: 10px 15px; border-radius: 18px; line-height: 1.4; word-wrap: break-word; } .message.sent { background: var(--sent-msg-bg); border-bottom-right-radius: 4px; } .message.received { background: var(--received-msg-bg); border-bottom-left-radius: 4px; } .message-text { margin-bottom: 5px; } .message-sticker { max-width: 150px; max-height: 150px; } .message-meta { font-size: 0.7rem; float: right; margin-left: 10px; color: var(--text-secondary); white-space: nowrap;} .message-meta .fa-check-double { margin-left: 3px; color: #4fc3f7; } .message-meta .read { color: var(--success-color); } .message-meta .edited-tag { font-style: italic; margin-right: 5px; } .message-options { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; opacity: 0; visibility: hidden; transition: opacity 0.2s; } .message-wrapper:hover .message-options { opacity: 1; visibility: visible; } .message.sent .message-options { right: 100%; margin-right: 10px; } .message.received .message-options { left: 100%; margin-left: 10px; } .options-btn { background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: 50%; width: 30px; height: 30px; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); } .options-menu { display: none; position: absolute; top: 50%; transform: translateY(-50%); background-color: var(--surface-color); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; white-space: nowrap; z-index: 3; } .message.sent .options-menu { right: 100%; margin-right: 5px; } .message.received .options-menu { left: 100%; margin-left: 5px; } .options-menu.show { display: block; } .options-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 15px; color: var(--text-primary); transition: background-color 0.2s; font-size: 0.9rem; } .options-menu a:hover { background-color: var(--background-color); } .message-reactions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; clear: both; } .message-wrapper.sent .message-reactions { justify-content: flex-end; } .reaction { background-color: var(--reaction-bg); border-radius: 20px; padding: 2px 8px; font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; } .reaction span:last-child { margin-left: 4px; font-weight: 500; font-size: 0.7rem; color: var(--text-secondary); } #reaction-palette { position: absolute; z-index: 10; background: var(--surface-color); box-shadow: var(--shadow); border-radius: 25px; padding: 5px; display: flex; gap: 5px; transition: transform 0.1s ease-out; } #reaction-palette button { background: none; border: none; font-size: 1.5rem; cursor: pointer; transition: transform 0.2s; } #reaction-palette button:hover { transform: scale(1.3); } .edit-input { width: 100%; padding: 8px; border-radius: 6px; border: 1px solid var(--primary-color); background-color: var(--background-color); color: var(--text-primary); } .edit-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 5px; } .edit-actions button { background: none; border: none; color: var(--text-secondary); font-size: 1rem; cursor: pointer; padding: 5px; } #typing-indicator { padding: 0 20px 10px; color: var(--text-secondary); height: 25px; display: flex; align-items: center; } .typing-dot { height: 8px; width: 8px; background-color: var(--text-secondary); border-radius: 50%; display: inline-block; margin: 0 2px; animation: typing-bounce 1.4s infinite ease-in-out both; } .typing-dot:nth-of-type(1) { animation-delay: -0.32s; } .typing-dot:nth-of-type(2) { animation-delay: -0.16s; } @keyframes typing-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } } #message-form { display: flex; padding: 10px 20px; align-items: center; background-color: var(--surface-color); border-top: 1px solid var(--border-color); flex-shrink: 0; } #message-input { flex-grow: 1; border: none; background: var(--background-color); padding: 12px 18px; border-radius: 25px; margin: 0 10px; color: var(--text-primary); } #message-input:focus { outline: none; } .send-btn i { color: var(--primary-color); } #sticker-btn i { color: var(--text-secondary); transition: color 0.2s; } #sticker-btn.active i { color: var(--primary-color); } #sticker-panel { height: 220px; background: var(--background-color); border-top: 1px solid var(--border-color); overflow-y: auto; padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; } #sticker-panel img { width: 100%; height: 100%; object-fit: contain; cursor: pointer; transition: transform 0.2s; } #sticker-panel img:hover { transform: scale(1.1); } /* ======== 7. FLOATING ACTION BUTTON ======== */ .fab { position: absolute; bottom: 25px; right: 25px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); color: white; border: none; font-size: 1.5rem; box-shadow: 0 6px 20px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; z-index: 5; } .fab:hover { transform: scale(1.1) rotate(15deg); box-shadow: 0 8px 25px rgba(0,0,0,0.3); } /* ======== 8. MODALS & OVERLAYS ======== */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .modal-overlay.visible { opacity: 1; pointer-events: auto; } .modal-content { background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 2rem; width: 90%; max-width: 450px; color: #fff; text-align: center; transform: scale(0.9); transition: transform 0.3s ease; position: relative; } .modal-overlay.visible .modal-content { transform: scale(1); } .modal-content h2 { margin-bottom: 0.5rem; font-weight: 600; } .modal-content p { margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.8); } .modal-content form { display: flex; flex-direction: column; gap: 1rem; } .modal-content .input-group input { background-color: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); } .modal-content .input-group input:read-only { background-color: rgba(0,0,0,0.1); cursor: not-allowed; } .modal-content .input-group label { color: rgba(255, 255, 255, 0.6); } .modal-content .input-group input:focus + label, .modal-content .input-group input:valid + label, .modal-content .input-group label.active { color: #fff; background: var(--primary-color); } .modal-btn { padding: 12px; border: none; border-radius: 8px; background-color: #fff; color: var(--primary-color); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.2s ease; } .modal-btn:hover { background-color: rgba(255,255,255,0.8); } .modal-btn-secondary { padding: 10px; width: 100%; background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff; cursor: pointer; border-radius: 8px; font-size: 0.9rem; margin-top: -0.5rem; margin-bottom: 0.5rem; transition: background-color 0.2s, border-color 0.2s; } .modal-btn-secondary:hover { background-color: rgba(255,255,255,0.1); border-color: #fff; } .close-modal-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; } #about-modal .creator-credit { font-weight: 500; margin-top: 1.5rem; color: #fff; } #about-modal hr { border: 0; height: 1px; background-color: rgba(255,255,255,0.2); } #friend-requests-modal .modal-content { text-align: left; } #friend-requests-list { list-style: none; max-height: 300px; overflow-y: auto; margin-bottom: 1rem; } #friend-requests-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); } #friend-requests-list li:last-child { border-bottom: none; } #friend-requests-list span { font-weight: 500; } .request-actions { display: flex; gap: 10px; } .request-actions button { width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer; transition: background-color 0.2s; color: #fff; } .request-actions .accept-btn { background-color: var(--success-color); } .request-actions .accept-btn:hover { background-color: #3aa822; } .request-actions .reject-btn { background-color: var(--error-color); } .request-actions .reject-btn:hover { background-color: #d1223e; } .modal-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.75rem; text-align: left; } #avatar-selection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-height: 80px; overflow: hidden; transition: max-height 0.5s ease-in-out; } #avatar-selection-grid.expanded { max-height: 250px; overflow-y: auto; padding-right: 10px; } #avatar-selection-grid img { width: 100%; aspect-ratio: 1/1; border-radius: 50%; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; border: 3px solid transparent; } #avatar-selection-grid img:hover { transform: scale(1.1); } #avatar-selection-grid img.selected { border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.5); } /* START: NEW CALL NOTIFICATION STYLES */ .modal-content.call-notification { display: flex; flex-direction: column; align-items: center; gap: 1rem; } .caller-avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); } #call-type-notification { text-transform: capitalize; color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; } .call-notification-actions { display: flex; gap: 2rem; margin-top: 1.5rem; } .call-action-btn { padding: 12px 24px; border: none; border-radius: 50px; color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; transition: transform 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 8px; } .call-action-btn:hover { transform: scale(1.05); } .call-action-btn.accept { background-color: var(--success-color); } .call-action-btn.reject { background-color: var(--error-color); } /* END: NEW CALL NOTIFICATION STYLES */ #status-overlay { position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; } #status-box { display: flex; flex-direction: column; align-items: center; gap: 1rem; background: var(--surface-color); padding: 2rem 3rem; border-radius: 16px; box-shadow: var(--shadow); color: var(--text-primary); } #status-message { font-weight: 500; } .loader { width: 48px; height: 48px; border: 5px solid var(--primary-color); border-bottom-color: transparent; border-radius: 50%; display: inline-block; box-sizing: border-box; animation: rotation 1s linear infinite; } @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* ======== 9. RESPONSIVE DESIGN ======== */ #menu-btn { display: none; } @media (max-width: 768px) { #sidebar { position: fixed; left: 0; top: 0; height: 100%; transform: translateX(-100%); box-shadow: 5px 0 15px rgba(0,0,0,0.1); } #sidebar.active { transform: translateX(0); } #menu-btn { display: block; } #chat-area { width: 100%; } #message-container { height: 100vh; } .modal-content { width: calc(100% - 30px); } .message-wrapper { max-width: 85%; } } /* ======== 10. ACTIVE CALL UI (NEW) ======== */ #call-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #1a1a1a; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; overflow: hidden; } #call-modal.visible { opacity: 1; pointer-events: auto; } #call-modal video { transition: opacity 0.5s ease; } #remote-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } #local-video { position: absolute; width: 25vw; max-width: 180px; bottom: 8rem; right: 1.5rem; border-radius: 12px; border: 2px solid rgba(255,255,255,0.5); box-shadow: 0 4px 15px rgba(0,0,0,0.4); transform: scaleX(-1); /* Mirror self-view */ z-index: 2001; } #call-header { position: absolute; top: 0; left: 0; right: 0; padding: 1.5rem; display: flex; align-items: center; gap: 1rem; background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent); z-index: 2002; color: #fff; } #call-partner-pic { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; } #call-partner-name { font-size: 1.2rem; font-weight: 600; } #call-status { font-size: 0.9rem; opacity: 0.8; } #call-controls { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 1.5rem; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1rem 2rem; border-radius: 50px; z-index: 2002; } .control-btn { background-color: rgba(255, 255, 255, 0.2); color: #fff; border: none; width: 60px; height: 60px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: background-color 0.2s, transform 0.2s; display: flex; align-items: center; justify-content: center; } .control-btn:hover { background-color: rgba(255, 255, 255, 0.4); } .control-btn:active { transform: scale(0.9); } .control-btn.end-call { background-color: var(--error-color); } .control-btn.end-call:hover { background-color: #d1223e; } .control-btn.inactive { background-color: #444; } .control-btn.inactive i { opacity: 0.7; } @media (max-width: 768px) { #local-video { width: 30vw; max-width: 120px; bottom: 9rem; right: 1rem; } #call-controls { gap: 1rem; padding: 0.8rem 1.5rem; } .control-btn { width: 50px; height: 50px; font-size: 1.2rem; } }