*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",Helvetica,Arial,sans-serif;
}

html, body{
    height:100%;
}

body{
    background:#0b141a;
}

.hidden{
    display:none !important;
}

:root{
    --wa-green:#2d9e7c;
    --wa-green-dark:#258c6c;
    --wa-teal:#258c6c;
    --wa-teal-dark:#1e7a5e;
    --wa-panel:#ffffff;
    --wa-topbar:#f0f2f5;
    --wa-hover:#f5f6f6;
    --wa-selected:#f0f2f5;
    --wa-border:#e9edef;
    --wa-text:#111b21;
    --wa-text-secondary:#667781;
    --wa-chat-bg:#efeae2;
    --wa-bubble-out:#d9fdd3;
    --wa-bubble-in:#ffffff;
    --wa-tick:#53bdeb;
}

/* ============ Overlays ============ */

.overlay{
    position:fixed;
    inset:0;
    background:rgba(11,20,26,.72);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:50;
}

#join-overlay{
    background:linear-gradient(160deg,#2d9e7c 0%,#258c6c 60%,#1e7a5e 100%);
}

/* ============ Join screen ============ */

.join-card{
    background:var(--wa-panel);
    padding:40px;
    border-radius:12px;
    width:330px;
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items:center;
    box-shadow:0 14px 45px rgba(0,0,0,.35);
}

.join-logo{
    width:64px;
    height:64px;
    border-radius:50%;
    background:linear-gradient(145deg,#2d9e7c,#258c6c);
    box-shadow:0 4px 12px rgba(0,128,105,.4);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:4px;
}

.join-card h2{
    color:var(--wa-text);
    font-weight:600;
}

.join-sub{
    font-size:13px;
    color:var(--wa-text-secondary);
    text-align:center;
    margin-bottom:8px;
    line-height:1.45;
}

.join-card input{
    width:100%;
    padding:13px 16px;
    border:1px solid var(--wa-border);
    border-radius:10px;
    outline:none;
    font-size:14px;
    background:#f7f8fa;
    transition:border-color .15s;
}

.join-card input:focus{
    border-color:var(--wa-green);
    background:white;
}

.join-card button[type="submit"]{
    width:100%;
    background:var(--wa-green);
    color:white;
    border:none;
    border-radius:24px;
    padding:13px;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    letter-spacing:.2px;
    transition:.2s;
}

.join-card button[type="submit"]:hover{
    background:var(--wa-green-dark);
}

.join-error{
    color:#dc2626;
    font-size:13px;
    text-align:center;
    min-height:16px;
}

.lang-switch{
    display:flex;
    gap:6px;
}

.lang-btn{
    background:none;
    border:1px solid var(--wa-border);
    border-radius:16px;
    padding:5px 12px;
    font-size:12px;
    font-weight:600;
    color:var(--wa-text-secondary);
    cursor:pointer;
    transition:.15s;
}

.lang-btn.active{
    background:var(--wa-green);
    border-color:var(--wa-green);
    color:white;
}

.topbar-lang{
    padding:4px 9px;
    font-size:11px;
    border-color:rgba(255,255,255,.35);
    color:rgba(255,255,255,.85);
}

.topbar-lang.active{
    background:white;
    border-color:white;
    color:var(--wa-teal);
}

/* ============ App layout ============ */

.app{
    display:flex;
    height:100vh;
    height:100dvh;
}

/* ============ Sidebar ============ */

.sidebar{
    width:380px;
    max-width:40vw;
    background:var(--wa-panel);
    display:flex;
    flex-direction:column;
}

.sidebar-topbar{
    height:60px;
    background:var(--wa-teal);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    flex-shrink:0;
}

.my-avatar, .avatar, .avatar-circle{
    width:40px;
    height:40px;
    border-radius:50%;
    background:var(--wa-green);
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-weight:600;
    font-size:15px;
    user-select:none;
    position:relative;
}

.topbar-icons{
    display:flex;
    align-items:center;
    gap:2px;
}

.topbar-icons button{
    background:none;
    border:none;
    font-size:19px;
    cursor:pointer;
    padding:8px;
    border-radius:50%;
    color:rgba(255,255,255,.85);
    transition:background .15s;
}

.topbar-icons button:hover{
    background:rgba(255,255,255,.12);
}

.search-box{
    padding:8px 12px;
    background:var(--wa-panel);
}

.search-box input{
    width:100%;
    padding:9px 16px;
    border:none;
    border-radius:18px;
    background:var(--wa-topbar);
    outline:none;
    font-size:14px;
}

.search-box input:focus{
    box-shadow:inset 0 0 0 1px var(--wa-green);
}

.channel-list{
    flex:1;
    overflow:auto;
}

.channel-item{
    position:relative;
    display:flex;
    align-items:center;
    padding:12px 16px;
    cursor:pointer;
    gap:14px;
    transition:background .12s;
}

.channel-item:hover{
    background:var(--wa-hover);
}

.channel-item.active{
    background:var(--wa-selected);
}

.channel-item-body{
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    /* leave room for the absolutely-positioned timestamp */
    padding-right:52px;
}

.channel-item-name{
    font-size:15px;
    color:var(--wa-text);
    font-weight:500;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.channel-item-preview{
    font-size:13px;
    color:var(--wa-text-secondary);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.channel-item-time{
    position:absolute;
    top:13px;
    right:16px;
    font-size:11px;
    color:var(--wa-text-secondary);
}

.channel-item-name.unread{
    font-weight:700;
    color:#000;
}

.unread-badge{
    position:absolute;
    top:12px;
    right:56px;
    min-width:22px;
    height:22px;
    border-radius:11px;
    background:var(--wa-green);
    color:#fff;
    font-size:12px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 6px;
    box-shadow:0 1px 3px rgba(0,0,0,.3);
}

.total-unread-badge{
    position:absolute;
    top:-4px;
    right:-4px;
    min-width:20px;
    height:20px;
    border-radius:10px;
    background:var(--wa-green);
    color:#fff;
    font-size:11px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 5px;
    box-shadow:0 1px 3px rgba(0,0,0,.3);
    z-index:10;
}

#sound-toggle-btn.muted svg{
    opacity:.5;
}

/* ============ In-app toast notifications ============ */

.toast-container{
    position:fixed;
    top:16px;
    right:16px;
    z-index:2000;
    display:flex;
    flex-direction:column;
    gap:8px;
    pointer-events:none;
}

.toast-item{
    pointer-events:auto;
    display:flex;
    align-items:center;
    gap:10px;
    background:var(--wa-green);
    color:#fff;
    border-radius:12px;
    padding:10px 14px;
    max-width:320px;
    box-shadow:0 4px 14px rgba(0,0,0,.25);
    cursor:pointer;
    animation:toast-in .25s ease;
}

.toast-item.hiding{
    animation:toast-out .3s ease forwards;
}

.toast-avatar{
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(255,255,255,.25);
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:13px;
    user-select:none;
}

.toast-body{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.toast-name{
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.toast-preview{
    font-size:12px;
    opacity:.9;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

@keyframes toast-in{
    from{ transform:translateX(120%); opacity:0; }
    to{ transform:none; opacity:1; }
}

@keyframes toast-out{
    to{ transform:translateX(120%); opacity:0; }
}

/* Subtle pulsing while there are unread messages */
.total-unread-badge:not(.hidden){
    animation:unread-pulse 1.4s ease-in-out infinite;
}

@keyframes unread-pulse{
    0%,100%{ transform:scale(1); }
    50%{ transform:scale(1.12); }
}

.guest-mode .channel-list{
    display:none;
}

.invite-feedback{
    color:var(--wa-green);
    font-size:12px;
    text-align:center;
    padding:4px;
    min-height:14px;
}

/* ============ Chat pane ============ */

.chat{
    flex:1;
    display:flex;
    flex-direction:column;
    min-width:0;
    background:var(--wa-chat-bg);
}

.header{
    height:60px;
    background:var(--wa-teal);
    display:flex;
    align-items:center;
    padding:0 16px;
    gap:14px;
    flex-shrink:0;
}

.header-info{
    flex:1;
    min-width:0;
}

.header-info h3{
    font-size:16px;
    font-weight:500;
    color:white;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.header-sub{
    color:rgba(255,255,255,.75);
    font-size:13px;
}

.watching-note{
    color:#ffe9a8;
}

.typing-note{
    color:#ffffff;
    font-style:italic;
    animation:typingPulse 1.4s ease-in-out infinite;
}

@keyframes typingPulse{
    0%,100%{opacity:1;}
    50%{opacity:.4;}
}

#rename-btn{
    background:none;
    border:none;
    font-size:16px;
    cursor:pointer;
    color:rgba(255,255,255,.85);
    padding:8px;
    border-radius:50%;
    transition:background .15s;
}

#rename-btn:hover{
    background:rgba(255,255,255,.12);
}

#logout-btn{
    background:none;
    border:none;
    font-size:16px;
    cursor:pointer;
    color:rgba(255,255,255,.85);
    padding:8px;
    border-radius:50%;
    flex-shrink:0;
    transition:background .15s;
}

#logout-btn:hover{
    background:rgba(255,255,255,.12);
}

#delete-convo-btn{
    background:none;
    border:none;
    font-size:16px;
    cursor:pointer;
    color:rgba(255,255,255,.85);
    padding:8px;
    border-radius:50%;
    flex-shrink:0;
    transition:background .15s;
}

#delete-convo-btn:hover{
    background:rgba(255,180,180,.22);
    color:#ffd6d6;
}

#back-btn{
    display:none;
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
    color:rgba(255,255,255,.85);
    padding:8px;
    border-radius:50%;
    flex-shrink:0;
}

#back-btn:hover{
    background:rgba(255,255,255,.12);
}

.channel-item-watching{
    font-size:12px;
    color:#d97706;
    margin-top:2px;
}

/* ============ Messages & bubbles ============ */

.messages{
    flex:1;
    padding:20px 7%;
    overflow:auto;
    display:flex;
    flex-direction:column;
    background-color:var(--wa-chat-bg);
    /* Faint doodle-style wallpaper, WhatsApp vibe */
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.032' stroke-width='2'%3E%3Ccircle cx='38' cy='44' r='11'/%3E%3Crect x='96' y='24' width='17' height='17' rx='4' transform='rotate(12 104 32)'/%3E%3Cpath d='M170 30l9 16h-18z'/%3E%3Cpath d='M225 62c6-8 16-2 12 6s-16 4-12-6z'/%3E%3Cpath d='M28 118q10-14 20 0t20 0'/%3E%3Ccircle cx='120' cy='112' r='6'/%3E%3Crect x='176' y='98' width='22' height='13' rx='6'/%3E%3Cpath d='M238 122l7 7m0-7l-7 7'/%3E%3Ccircle cx='58' cy='186' r='9'/%3E%3Cpath d='M110 172h20m-10-10v20'/%3E%3Crect x='178' y='168' width='15' height='15' rx='3' transform='rotate(-14 185 175)'/%3E%3Cpath d='M228 196q12 8 0 16'/%3E%3Ccircle cx='140' cy='222' r='5'/%3E%3Cpath d='M76 240c8-6 14 6 22 0'/%3E%3C/g%3E%3C/svg%3E");
}

.message{
    display:flex;
    flex-direction:column;
    margin-bottom:3px;
    max-width:65%;
}

.message.me{
    align-self:flex-end;
    align-items:flex-end;
}

.message.other{
    align-self:flex-start;
    align-items:flex-start;
}

.message + .message{
    margin-top:2px;
}

.message .author{
    font-size:12.5px;
    font-weight:600;
    margin-bottom:2px;
    padding:0 10px;
    color:#258c6c;
}

.message.me .author{
    display:none;
}

.bubble{
    padding:6px 9px 8px 11px;
    border-radius:7.5px;
    font-size:14.5px;
    line-height:1.42;
    word-wrap:break-word;
    white-space:pre-wrap;
    box-shadow:0 1px .5px rgba(11,20,26,.13);
    position:relative;
}

.message.other .bubble{
    background:var(--wa-bubble-in);
    color:var(--wa-text);
}

.message.me .bubble{
    background:var(--wa-bubble-out);
    color:var(--wa-text);
}

/* Bubble tails, WhatsApp-style */
.message.other .bubble::before{
    content:'';
    position:absolute;
    top:0;
    left:-8px;
    width:0;
    height:0;
    border-top:solid 10px var(--wa-bubble-in);
    border-right:solid 9px transparent;
}

.message.me .bubble::before{
    content:'';
    position:absolute;
    top:0;
    right:-8px;
    width:0;
    height:0;
    border-top:solid 10px var(--wa-bubble-out);
    border-left:solid 9px transparent;
}

/* Consecutive messages from the same author lose the tail */
.message.other + .message.other .bubble::before,
.message.me + .message.me .bubble::before{
    display:none;
}

.bubble-time{
    font-size:11px;
    color:var(--wa-text-secondary);
    float:right;
    margin-left:10px;
    margin-top:6px;
    user-select:none;
}

.bubble-tick{
    font-size:11px;
    color:var(--wa-tick);
    float:right;
    margin-left:5px;
    margin-top:6px;
    letter-spacing:-2px;
    user-select:none;
}

/* Read receipt: the other side has seen this message. */
.bubble-tick.read{
    color:#53bdeb;
}

.shared-image{
    max-width:280px;
    max-height:280px;
    border-radius:6px;
    display:block;
    margin-bottom:4px;
}

.message.has-media .bubble-time,
.message.has-media .bubble-tick{
    margin-top:0;
}

.shared-audio{
    max-width:260px;
    height:36px;
    display:block;
}

.file-link{
    display:flex;
    align-items:center;
    gap:8px;
    color:inherit;
    text-decoration:none;
}

.file-link span{
    text-decoration:underline;
}

/* ============ Reply / forward / actions ============ */

.message-row{
    display:flex;
    align-items:center;
    gap:4px;
    max-width:100%;
    min-width:0;
}

.message.me .message-row{
    flex-direction:row-reverse;
}

.message .bubble{
    min-width:0;
}

.msg-actions{
    display:flex;
    gap:2px;
    flex-shrink:0;
    opacity:0;
    pointer-events:none;
    transition:opacity .15s;
}

.message-row:hover .msg-actions,
.message.actions-visible .msg-actions{
    opacity:1;
    pointer-events:auto;
}

.msg-actions button{
    background:none;
    border:none;
    font-size:12px;
    color:var(--wa-text-secondary);
    opacity:.55;
    cursor:pointer;
    padding:2px 5px;
    border-radius:4px;
}

.msg-actions button:hover{
    opacity:1;
    background:rgba(0,0,0,.06);
}

.reply-quote{
    border-left:3px solid #3baa8c;
    background:rgba(0,0,0,.05);
    border-radius:4px;
    padding:4px 8px;
    margin-bottom:4px;
    font-size:12.5px;
}

.reply-quote-author{
    font-weight:600;
    color:#258c6c;
}

.reply-quote-text{
    color:var(--wa-text-secondary);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:220px;
}

.forwarded-tag{
    font-size:11.5px;
    font-style:italic;
    color:var(--wa-text-secondary);
    margin-bottom:2px;
}

.reply-preview{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:var(--wa-topbar);
    padding:8px 16px;
    gap:10px;
}

.reply-preview-body{
    border-left:3px solid #3baa8c;
    padding-left:8px;
    min-width:0;
}

.reply-preview-author{
    font-size:12.5px;
    font-weight:600;
    color:#258c6c;
}

.reply-preview-text{
    font-size:12.5px;
    color:var(--wa-text-secondary);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

#reply-preview-cancel{
    background:none;
    border:none;
    font-size:14px;
    color:var(--wa-text-secondary);
    cursor:pointer;
    padding:4px 8px;
    flex-shrink:0;
}

.forward-card{
    width:380px;
}

.forward-row{
    cursor:pointer;
}

.forward-row:hover{
    background:var(--wa-hover);
}

/* ============ Composer ============ */

.footer{
    background:var(--wa-topbar);
    padding:8px 14px;
    display:flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
}

.footer input, .footer textarea{
    flex:1;
    padding:11px 16px;
    border-radius:20px;
    border:none;
    outline:none;
    font-size:14.5px;
    background:white;
}

.footer textarea{
    resize:none;
    max-height:120px;
    overflow-y:auto;
    line-height:1.35;
    font-family:inherit;
}

#attach-btn, #mic-btn, #send-btn{
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
    color:var(--wa-text-secondary);
    padding:8px;
    border-radius:50%;
    flex-shrink:0;
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:background .15s;
}

#attach-btn:hover, #mic-btn:hover{
    background:rgba(0,0,0,.06);
}

#send-btn{
    background:var(--wa-green);
    color:white;
    font-size:17px;
}

#send-btn:hover{
    background:var(--wa-green-dark);
}

#mic-btn.recording{
    background:#fee2e2;
    color:#dc2626;
    animation:pulse 1.2s infinite;
}

@keyframes pulse{
    0%, 100%{ opacity:1; }
    50%{ opacity:.55; }
}

.upload-progress{
    text-align:center;
    font-size:12px;
    color:var(--wa-text-secondary);
    padding:0 16px 6px;
    background:var(--wa-topbar);
}

/* ============ Manage modal ============ */

.manage-card{
    background:#f5f7fb;
    color:var(--wa-text);
    width:640px;
    max-width:92vw;
    max-height:85vh;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.manage-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 20px;
    background:var(--wa-teal);
    color:white;
}

.manage-header h2{
    font-size:16px;
}

#manage-close-btn, #forward-close-btn{
    background:none;
    border:none;
    color:white;
    font-size:16px;
    cursor:pointer;
    padding:4px 8px;
    border-radius:6px;
}

#manage-close-btn:hover, #forward-close-btn:hover{
    background:rgba(255,255,255,.12);
}

.manage-tabs{
    display:flex;
    border-bottom:1px solid var(--wa-border);
    background:white;
}

.manage-tab{
    flex:1;
    padding:12px;
    background:none;
    border:none;
    cursor:pointer;
    font-size:13px;
    color:var(--wa-text-secondary);
    border-bottom:2px solid transparent;
}

.manage-tab.active{
    color:var(--wa-green);
    border-bottom-color:var(--wa-green);
    font-weight:600;
}

.manage-panel{
    padding:16px 20px;
    overflow:auto;
    flex:1;
}

.manage-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:16px;
}

.manage-row{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    background:white;
    border-radius:8px;
    font-size:13px;
}

.manage-row-body{
    flex:1;
    min-width:0;
}

.manage-row-title{
    font-weight:600;
}

.manage-row-sub{
    color:var(--wa-text-secondary);
    font-size:12px;
    word-break:break-all;
}

.manage-row button{
    background:#e9edef;
    border:none;
    border-radius:14px;
    padding:6px 14px;
    font-size:12px;
    cursor:pointer;
    flex-shrink:0;
    font-weight:500;
}

.manage-row button.danger{
    background:#fee2e2;
    color:#dc2626;
}

.manage-row .dot{
    width:8px;
    height:8px;
    border-radius:50%;
    flex-shrink:0;
}

.manage-row .dot.online{ background:#22c55e; }
.manage-row .dot.offline{ background:#d1d5db; }

.manage-empty{
    color:var(--wa-text-secondary);
    text-align:center;
    padding:20px;
    font-size:13px;
}

.manage-form{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.manage-form input, .manage-form select{
    padding:9px 12px;
    border:1px solid var(--wa-border);
    border-radius:8px;
    outline:none;
    font-size:13px;
    flex:1;
    min-width:140px;
    background:white;
}

.manage-form input:focus, .manage-form select:focus{
    border-color:var(--wa-green);
}

.manage-form button{
    background:var(--wa-green);
    color:white;
    border:none;
    border-radius:20px;
    padding:9px 18px;
    font-weight:600;
    font-size:13px;
    cursor:pointer;
}

.manage-form button:hover{
    background:var(--wa-green-dark);
}

/* ============ SVG icons ============ */

button svg{
    display:block;
    fill:currentColor;
}

.topbar-icons button svg{
    width:22px;
    height:22px;
}

.header > button svg{
    width:22px;
    height:22px;
}

#manage-close-btn svg, #forward-close-btn svg, #reply-preview-cancel svg{
    width:18px;
    height:18px;
}

#attach-btn svg, #mic-btn svg{
    width:24px;
    height:24px;
}

#send-btn svg{
    width:19px;
    height:19px;
    margin-left:-2px;
}

.msg-actions button svg{
    width:16px;
    height:16px;
}

.join-logo svg{
    width:32px;
    height:32px;
}

.avatar-circle svg, .avatar svg{
    width:20px;
    height:20px;
}

.file-icon{
    display:inline-flex;
    align-items:center;
    color:#54656f;
    flex-shrink:0;
}

.file-icon svg{
    width:22px;
    height:22px;
}

/* ============ Mobile ============ */

@media (max-width: 768px){
    .join-card{
        width:90vw;
        max-width:340px;
        padding:28px 22px;
    }

    .sidebar{
        width:100%;
        max-width:100%;
    }

    .app:not(.chat-active) .chat{
        display:none;
    }

    .app.chat-active .sidebar{
        display:none;
    }

    .app.guest-mode .sidebar{
        display:none;
    }

    .app.chat-active:not(.guest-mode) #back-btn{
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }

    .sidebar-topbar, .header{
        height:54px;
        padding:0 10px;
    }

    .my-avatar, .avatar, .avatar-circle{
        width:36px;
        height:36px;
        font-size:13px;
    }

    .topbar-icons button{
        font-size:17px;
        padding:6px;
    }

    .topbar-lang{
        display:none;
    }

    .header-info h3{
        font-size:15px;
    }

    .header-sub{
        font-size:12px;
    }

    #rename-btn, #logout-btn, #delete-convo-btn{
        font-size:15px;
        padding:6px;
    }

    .channel-item{
        padding:10px 12px;
        gap:10px;
    }

    .channel-item-time{
        top:11px;
        right:12px;
    }

    .messages{
        padding:14px 3%;
    }

    .message{
        max-width:86%;
    }

    .bubble{
        font-size:14px;
    }

    .shared-image{
        max-width:210px;
        max-height:210px;
    }

    .footer{
        padding:6px 8px;
        gap:2px;
    }

    .footer input, .footer textarea{
        padding:10px 14px;
        font-size:14px;
    }

    #attach-btn, #mic-btn, #send-btn{
        font-size:18px;
        padding:6px;
        width:36px;
        height:36px;
    }

    .manage-card{
        width:100%;
        max-width:100%;
        max-height:100%;
        height:100%;
        border-radius:0;
    }

    .manage-tab{
        font-size:12px;
        padding:10px 6px;
    }

    .manage-form{
        flex-direction:column;
    }

    .manage-form input, .manage-form select{
        min-width:0;
    }
}
