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;
}

.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;
}

/* Corporate Colors*/
:root {
    /* Brand */
    --brand-blue: #1E81B0; /* primary */
    --brand-blue-dark: #16658A;
    --brand-blue-light: #E6F2F8;
    --brand-red: #C0392B; /* danger */
    --brand-red-dark: #922B21;
    --brand-red-light: #FDECEA;
    /* Neutrals */
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    /* Feedback */
    --success: #198754;
    --warning: #F59E0B;
    --info: #0DCAF0;
}

/* Primary buttons*/
.btn-primary,
.btnDefault {
    background-color: #fff;
    border-color: var(--brand-blue-dark);
    color: var(--brand-blue-dark);
}

    .btn-primary:hover,
    .btnDefault:hover {
        background-color: var(--brand-blue);
        border-color: var(--brand-blue);
        color: #fff;
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(30, 129, 176, 0.25);
        color: #fff;
    }

/* Target all headings */
h1, h2, h3, h4, h5, h6, .navbar-nav {
    color: var(--brand-blue-dark) !important; /* Force override existing styles */
}

.brand-text {
    color: var(--brand-blue-dark);
    letter-spacing: 0.3px;
}

    .brand-text:hover {
        color: var(--brand-blue); /* subtle hover polish */
    }
a {
    color: var(--brand-blue);
    text-decoration: none;
}

body {
    padding-top: 70px; /* adjust to navbar height */
}

/* Progress Bar*/
/* Password strength meter */
.progress {
    background-color: var(--gray-100);
}

.progress-bar {
    background-color: var(--brand-blue);
    transition: width 0.25s ease-in-out;
}

/* Table format*/
.table > thead > tr > th {
    background-color: var(--brand-blue-dark) !important; /* MX blue */
    color: #ffffff !important; /* white text */
}

/* ─────────────────────────────────────────────
   Notification Bell – Corporate Classic Style
   ───────────────────────────────────────────── */
/* ─────────────────────────────────────────────
   Notification Bell – Enterprise Final Version
   ───────────────────────────────────────────── */

.notif-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 6px;
    color: var(--brand-blue);
    cursor: pointer;
    transition: background 0.18s ease;
}

    .notif-bell:focus,
    .notif-bell:active,
    .notif-bell:focus-visible {
        outline: none;
        box-shadow: none;
    }

.notif-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    margin-right: 1px; /* spacing from bell */
}

/* Base icon */
.bell-regular {
    font-size: 1.1rem;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Centering wrapper (never animated) */
.bell-solid-wrapper {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

/* Solid icon */
.bell-solid {
    font-size: 1.1rem;
    transform-origin: top center;
}

/* Hover swap */
.notif-bell:hover {
    background: #fff;
}

    .notif-bell:hover .bell-regular {
        opacity: 0;
        transform: scale(0.85);
    }

    .notif-bell:hover .bell-solid-wrapper {
        opacity: 1;
    }

    /* Ring animation */
    .notif-bell:hover .bell-solid {
        animation: bellRing 0.6s ease-in-out;
    }

@keyframes bellRing {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(18deg);
    }

    30% {
        transform: rotate(-14deg);
    }

    45% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-6deg);
    }

    75% {
        transform: rotate(3deg);
    }

    100% {
        transform: rotate(0deg);
    }
}
/* Zoom cards*/
/* Card hover zoom (used across dashboards) */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card-hover:hover {
        transform: scale(1.02);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    }

/* ─────────────────────────────────────────────
   Proprietatum – Soft Informational Badge
   Used for counts, metadata, non-status info
   ───────────────────────────────────────────── */

.badge-soft {
    background-color: #e9f4fb; /* soft blue background */
    color: #0f4c75; /* strong readable navy */
    border: 1px solid #cfe8f5;
    font-weight: 500;
}

.badge-soft-sm {
    background-color: #f4f8fb;
    color: #0f4c75;
    border: 1px solid #e0edf6;
    font-weight: 500;
    font-size: 0.75rem;
}

/*Auth card */
.auth-wrapper {
    flex: 1;
}


.auth-card {
    max-width: 420px;
    width: 100%;
}

/* Property Grid */
.property-details {
    background-color: #f8f9fa;
}

.property-workspace {
    padding: 1.5rem;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.property-row-expanded {
    background-color: #eef2f6;
    border-left: 4px solid #0d6efd;
}

.property-details {
    background-color: #f8f9fa;
}

.property-workspace {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/*Nav*/
/* Make submenu arrows match Bootstrap caret style */
.dropdown-submenu > .dropdown-toggle::after {
    transform: rotate(-90deg);
    margin-left: 0.5rem;
}
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

/* Smooth transition for all nav & dropdown links */
.navbar .nav-link,
.dropdown-menu .dropdown-item {
    transition: transform 0.15s ease, font-weight 0.15s ease;
}

    /* Top-level nav items */
    .navbar .nav-link:hover {
        font-weight: 600;
        transform: scale(1.05);
    }

    /* Dropdown items */
    .dropdown-menu .dropdown-item:hover {
        font-weight: 600;
        transform: scale(1.03);
    }
    /*Iti : international country codes*/
.iti {
    width: 100%;
    display: block;
}

.input-group .iti {
    flex: 1;
}

/* ITI inside Bootstrap input-group */
.input-group > .iti {
    display: flex;
    flex: 1 1 auto;
    width: auto; /* ← override width: 100% */
    min-width: 0;
    position: relative;
    align-items: center;
}

/* Override Bootstrap's flex-wrap: wrap on input-groups containing ITI */
.input-group:has(.iti) {
    flex-wrap: nowrap; /* ← stop ITI from wrapping to new line */
}

    .input-group > .iti .iti__flag-container {
        z-index: 5;
        position: relative; /* ← ADD THIS */
    }

    .input-group > .iti input.form-control {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        width: 100%;
        flex: 1; /* ← ADD THIS so input fills remaining space */
    }

.input-group .iti .iti__tel-input {
    width: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

    /*Data-list*/
thead.table-light th a {
    color: white;
    font-weight: 600;
}

/* Mobile-first: stacked label + full-width input within input-group */
@media (max-width: 767.98px) {
    .input-group > label.d-md-none {
        display: block;
        width: 100%;
        flex: 0 0 100%;
    }
    /* Remove left-rounding suppression when prefix is hidden */
    .input-group > .form-control:first-of-type,
    .input-group > .form-select:first-of-type {
        border-radius: var(--bs-border-radius);
    }
}