/* 
 * INTAKE.AI - Premium Vuexy-Style Design (Navbar Layout)
 */

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bs-primary: #7367F0;
    --bs-primary-rgb: 115, 103, 240;
    --bs-secondary: #82868b;
    --bs-success: #28c76f;
    --bs-info: #00cfe8;
    --bs-warning: #ff9f43;
    --bs-danger: #ea5455;
    --bs-body-bg: #F8F8F8;
    --bs-body-color: #6E6B7B;
    --bs-heading-color: #5E5873;
    --vuexy-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    --card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Public Sans', sans-serif;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--bs-heading-color);
    font-weight: 600;
}

a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #5e50ee;
}

/* --- Navigation --- */
.navbar {
    background-color: #fff !important;
    backdrop-filter: saturate(200%) blur(6px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.navbar-brand {
    font-weight: 700;
    color: var(--bs-heading-color) !important;
    font-size: 1.35rem;
}

.nav-link {
    color: var(--bs-body-color);
    font-weight: 500;
    margin-right: 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.358rem;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bs-primary) !important;
    background: rgba(115, 103, 240, 0.08);
}

/* --- Cards --- */
.card {
    background: #fff;
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--vuexy-shadow);
    margin-bottom: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 41, 47, 0.15);
}

.card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* --- Buttons --- */
.btn {
    border-radius: 0.358rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(115, 103, 240, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(115, 103, 240, 0.6);
}

/* NEW: Icon Button Style */
.btn-icon {
    padding: 0;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-text-secondary {
    background: transparent;
    color: var(--bs-secondary);
    box-shadow: none;
}

.btn-text-secondary:hover {
    background: rgba(130, 134, 139, 0.1);
    color: var(--bs-body-color);
}

.btn-white {
    background-color: #fff;
    color: var(--bs-primary);
}

.btn-white:hover {
    background-color: #f3f3f3;
    color: #5e50ee;
    transform: translateY(-2px);
}

/* --- Avatars --- */
.avatar {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
}

.avatar-lg {
    width: 4rem;
    height: 4rem;
}

.avatar-initial {
    background-color: rgba(115, 103, 240, 0.12) !important;
    color: #7367f0 !important;
    font-weight: 700 !important;
    border: none;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-online::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: var(--bs-success);
}

/* --- Badges --- */
.badge {
    border-radius: 0.3rem;
    padding: 0.5em 0.8em;
    font-weight: 600;
    line-height: 1;
}

.bg-label-primary {
    background: rgba(115, 103, 240, 0.12);
    color: #7367f0 !important;
}

.bg-label-success {
    background: rgba(40, 199, 111, 0.12);
    color: #28c76f !important;
}

.bg-label-info {
    background: rgba(0, 207, 232, 0.12);
    color: #00cfe8 !important;
}

.bg-label-warning {
    background: rgba(255, 159, 67, 0.12);
    color: #ff9f43 !important;
}

.bg-label-danger {
    background: rgba(234, 84, 85, 0.12);
    color: #ea5455 !important;
}

/* --- Forms --- */
.form-control {
    border: 1px solid #d8d6de;
    padding: 0.6rem 1rem;
    border-radius: 0.357rem;
    color: #6e6b7b;
}

.form-control:focus {
    border-color: #7367f0;
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.25);
}

/* --- Utilities --- */
.hover-lift {
    transition: transform 0.2s;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.text-heading {
    color: var(--bs-heading-color) !important;
}

/* Remove Dropdown Arrow (The three dots fix) */
.hide-arrow::after {
    display: none !important;
    content: none !important;
}

/* Auth Wrapper */
.authentication-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.authentication-inner {
    width: 100%;
    max-width: 450px;
}

/* Page Spacing Fix */
.container-p-y {
    padding-top: 1rem !important;
    padding-bottom: 2rem;
}