html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

/* ===== Chat ===== */

.chat-page {
    margin: 0px auto;
    padding: 0 0px;
}

.chat-title {
    margin-bottom: 20px;
}

.chat-box {
    background: #f5f7fb;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-row {
    display: flex;
}

    .chat-row.other {
        justify-content: flex-start;
    }

    .chat-row.own {
        justify-content: flex-end;
    }

.chat-bubble {
    max-width: 80%;
    width: fit-content;
    padding: 8px 10px;
    border-radius: 12px;
    box-shadow: 0 5px 3px rgba(0,0,0,0.08);
    word-break: break-word;    
}

.chat-row.other .chat-bubble {
    background: #ffffff;
    border-top-left-radius: 6px;
}

.chat-row.own .chat-bubble {
    background: #d9fdd3;
    border-top-right-radius: 6px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #667085;
}

.chat-user {
    font-weight: 600;
    color: #344054;
}

.chat-message {
    font-size: 1rem;
    color: #101828;
}

.chat-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 1rem;
    resize: vertical;
    min-height: 90px;
}

.chat-actions {
    display: flex;
    justify-content: flex-end;
}
.navbar-overlay {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(3px);
}