html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Chat page — offset for navbar */
.shell {
    height: calc(100vh - 85px); /* match your navbar height */
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* ===== INPUT BOX ===== */
#input-box {
    flex-direction: column;
    align-items: stretch;
}

/* border around where you actually type */
#chat-input {
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    outline: none;
    resize: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    #chat-input:focus {
        border-color: #0066cc;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
    }

/* border around the typing row */
.input-row-main {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .input-row-main:focus-within {
        border-color: #0066cc;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
    }

    .input-row-main textarea {
        flex: 1;
        border: none !important;
        outline: none !important;
        background: transparent;
        resize: none;
    }

.input-row-tools {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

    .input-row-tools button {
        width: auto !important;
        flex: 0 0 auto;
    }