body {
    font-family: 'Outfit', sans-serif !important;
    background-color: #F4F7FB;
}

.modal-body {
    margin-top: 10px;
}

/* Wider than Bootstrap's 500px default on desktop; full width on phones. */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 600px;
    }
}

hr {
    border: none;
    height: 20px;
    width: 90%;
    height: 50px;
    margin-top: 0;
    border-bottom: 1px solid black;
    box-shadow: 0 15px 20px -20px black;
}

.zero-margin {
    margin-left: 0px;
    margin-right: 0px;
}

.zero-padding {
    padding-left: 0px;
    padding-right: 0px;
}

.loading-div {
    position: fixed;
    padding: 0;
    margin: 0;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.7);
}

.circle-close {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin-right: -10px;
    margin-top: -10px;
    background-color: black;
    border: 2px solid white;
    outline: none !important;
    font-size: 18px;
}

.row-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
}

.col-height {
    display: table-cell;
    float: none;
    height: 100%;
}

.col-top {
    vertical-align: top;
}

.col-middle {
    vertical-align: middle;
}

.col-bottom {
    vertical-align: bottom;
}

:root {
    --info-color: #5861d0;
    --warning-color: #dca321;
    --success-color: #2eb62d;
    --danger-color: #d85e5e;
}

.message-info {
    color: var(--info-color);
}

.message-warning {
    color: var(--warning-color);
}

.message-success {
    color: var(--success-color);
}

.message-danger {
    color: var(--danger-color);
}

.message-error {
    color: var(--danger-color);
}


.password-format-warning {
    color: var(--danger-color);
    font-size: 13px;
}

.required-asterix {
    color: var(--danger-color);
}

#login-and-register-modal .modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 30px 1rem !important;
    border-top: 1px solid #e9ecef !important;
}

#login-and-register-modal .modal-footer::before,
#login-and-register-modal .modal-footer::after {
    display: none !important;
}

.subscriptions-table>tbody>tr>th {
    height: 60px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    font-weight: normal;
}

.subscriptions-table>thead>tr>th {
    height: 90px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

.subscriptions-table>tbody>tr>th>i {
    font-size: 30px;
}


.color-box {
    width: 70px;
    height: 10px;
    display: inline-block;
    vertical-align: middle;
}

.map-control {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5%;
    top: 7px !important;
    right: 7px !important;
    font-size: 15px;
    background-color: #fff;
    padding: 7px;
}

label {
    margin-bottom: 5px;
    margin-top: 5px;
}

.navbar-nav>li:hover {
    background-color: #d9dae8
}

.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E7EB;
    height: 70px;
    box-shadow: none !important;
}

.navbar .nav-link {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.navbar-brand:hover {
    color: black;
    background-color: lightgrey;
}

.circle-icon {
    background-color: #00456b61;
    border-radius: 50%;
    display: inline-block;
}


/*-------------------------
	Inline help tip
--------------------------*/


.help-tip {
    position: absolute;
    top: 18px;
    right: 18px;
    text-align: center;
    background-color: #BCDBEA;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 26px;
    cursor: default;
    z-index: 2;
}

.help-tip:before {
    content: '?';
    font-weight: bold;
    color: #fff;
}

.help-tip:hover p {
    display: block;
    transform-origin: 100% 0%;

    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;

}

.help-tip p {
    display: none;
    text-align: left;
    background-color: #1E2021;
    padding: 20px;
    width: 300px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -4px;
    color: #FFF;
    font-size: 13px;
    line-height: 1.4;
}

.help-tip p:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: #1E2021;
    right: 10px;
    top: -12px;
}

.help-tip p:after {
    width: 100%;
    height: 40px;
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

/*-------------------------
	Inline help tip end
--------------------------*/

/*-------------------------
	Enterprise Footer
--------------------------*/
.enterprise-footer {
    background: #F9FAFB;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 100px 0 60px 0;
    margin-top: 80px;
}

.footer-brand-title {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.footer-tagline {
    color: #888888;
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
    font-weight: 300;
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-family: 'Outfit', sans-serif;
}

.footer-link {
    color: #888888;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #000000;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    margin-top: 80px;
    padding-top: 40px;
    color: #bbbbbb;
    font-size: 12px;
}

.store-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.store-badge {
    width: 170px;
    /* Fixed width for perfect edge alignment */
    height: auto;
    transition: transform 0.2s ease;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* International Phone Input Tweaks */
.iti {
    width: 100%;
    display: block !important;
}

.iti__country-list {
    z-index: 1060 !important;
    /* Above Bootstrap modals */
}

#register_phone {
    padding-left: 52px !important;
}

/* SaaS Enterprise Dashboard UI */
body {
    background-color: #F4F7FB;
}

.saas-layout {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem auto;
    padding: 0px 8px 24px 8px;
    color: #1A1F36;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.saas-layout-wide {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto 2rem auto;
}

/* SaaS Navigation Tabs */
.saas-pageheader {
    background-color: transparent;
    padding-top: 32px;
    margin-bottom: 32px;
}

.saas-pageheader-top {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.saas-pageheader-icon i {
    color: #7B3FF2;
    font-size: 2.5rem;
}

.saas-pageheader-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #7B3FF2;
    margin: 0;
}

/* Reusable Header Validation Action Buttons */
.navbar .nav-link {
    text-transform: capitalize !important;
}

/* Fix MDB inherited hover background on nav-items */
.navbar .nav-item:hover,
.navbar .nav-item:focus {
    background-color: transparent !important;
}

/* Base Nav Links Styling */
.navbar .nav-link.waves-effect {
    color: #6B7280 !important;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    padding-bottom: 6px;
    padding-top: 6px;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar .nav-link.waves-effect i {
    color: #6B7280 !important;
    transition: color 0.2s ease;
    font-size: 15px !important;
}

/* Nav Link Hover State */
.navbar .nav-link.waves-effect:hover {
    color: #374151 !important;
    border-bottom: 2px solid #5A728A;
}

.navbar .nav-link.waves-effect:hover i {
    color: #374151 !important;
}

.saas-header-btn {
    background: #5A728A !important;
    color: white !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: background 0.2s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none !important;
}

.saas-header-btn:hover,
.saas-header-btn:focus,
.show>.saas-header-btn {
    background: #455D73 !important;
    color: white !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Split button specific tweaks */
.saas-header-btn-group {
    display: flex;
}

.saas-header-btn-group .saas-header-btn-main {
    border-radius: 6px 0 0 6px !important;
}

.saas-header-btn-group .saas-header-btn-toggle {
    border-radius: 0 6px 6px 0 !important;
    padding: 8px 12px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.saas-header-btn-group:hover .saas-header-btn {
    background: #455D73 !important;
}

/* Dropdown Menu Styling */
.saas-header-dropdown {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 6px !important;
    background-color: white !important;
    padding: 4px 0 !important;
    margin-top: 8px !important;
}

.saas-header-dropdown .dropdown-item {
    padding: 8px 16px;
    font-weight: 500;
    transition: background 0.2s;
}

.saas-tabs-container {
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.saas-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    border-bottom: 1px solid #E3E8EE;
    gap: 32px;
}

.saas-tab {
    display: inline-block;
}

.saas-tab>a {
    display: block;
    padding: 8px 0 12px 0;
    color: #697386;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    cursor: pointer;
    transition: color 0.2s;
}

.saas-tab>a:hover {
    color: #1A1F36;
    text-decoration: none;
}

.saas-tab.active>a {
    color: #7B3FF2;
    font-weight: 600;
}

.saas-tab.active>a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #7B3FF2;
    border-radius: 2px 2px 0 0;
}

.saas-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #E3E8EE;
    padding: 24px 20px;
    margin-bottom: 24px;
    position: relative;
}

.saas-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
    color: #1A1F36;
}

.saas-card-subtitle {
    font-size: 0.875rem;
    color: #697386;
    margin-bottom: 24px;
}

.saas-form-group {
    margin-bottom: 32px;
}

.saas-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3C4257;
    margin-bottom: 8px;
}

.saas-input {
    width: 100%;
    border: 1px solid #E3E8EE;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: #1A1F36;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.saas-input:focus {
    outline: none;
    border-color: #7B3FF2;
    box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.15);
}

.saas-helper-text {
    font-size: 0.8125rem;
    color: #697386;
    margin-top: 32px;
    line-height: 1.4;
    padding: 12px;
    background-color: #F6F8FB;
    border-radius: 8px;
}

.saas-btn-primary {
    background-color: #7B3FF2;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(123, 63, 242, 0.2);
    display: inline-block;
    text-align: center;
}

.saas-btn-primary:hover {
    background-color: #6B34D6;
    box-shadow: 0 4px 6px rgba(123, 63, 242, 0.3);
    transform: translateY(-1px);
}

.saas-btn-secondary {
    background-color: #ffffff;
    border: 1px solid #E3E8EE;
    color: #4F566B;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.saas-btn-secondary:hover {
    background-color: #F6F8FB;
    border-color: #C1C9D2;
    color: #1A1F36;
}

.saas-btn-danger {
    background-color: #ffffff;
    border: 1px solid #E3E8EE;
    color: #d85e5e;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.saas-btn-danger:hover {
    background-color: #d85e5e;
    color: white;
    border-color: #d85e5e;
    box-shadow: 0 2px 4px rgba(216, 94, 94, 0.2);
}

/* Map controls */
.saas-map-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid #E3E8EE;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.saas-map-btn {
    background-color: #FFFFFF;
    border: 1px solid #E3E8EE;
    color: #3C4257;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.saas-map-btn:hover {
    border-color: #C1C9D2;
    background-color: #F6F8FB;
}

.saas-map-btn-accent {
    background-color: rgba(123, 63, 242, 0.08);
    border: 1px solid rgba(123, 63, 242, 0.3);
    color: #7B3FF2;
    font-weight: 600;
}

.saas-map-btn-accent:hover {
    background-color: rgba(123, 63, 242, 0.15);
    border-color: #7B3FF2;
}

.saas-radio-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
    padding: 2px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.saas-radio-wrapper:hover {
    background-color: #F6F8FB;
}

.saas-radio-wrapper input[type="radio"] {
    accent-color: #7B3FF2;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.saas-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #E3E8EE;
    border-radius: 8px;
    background-color: #F6F8FB;
}

.saas-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #C1C9D2;
    cursor: pointer;
    accent-color: #7B3FF2;
}

.saas-checkbox-label {
    font-size: 0.875rem;
    color: #1A1F36;
    cursor: pointer;
    font-weight: 600;
    margin: 0;
}

/* Map overlays */
.saas-map-overlay {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}

.saas-card-full {
    padding: 0 !important;
    overflow: hidden;
}

.saas-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.saas-input-icon {
    position: absolute;
    right: 12px;
    font-size: 1rem;
    pointer-events: none;
    display: none;
}

.saas-input-icon.text-success {
    color: #28a745 !important;
    display: block;
}

.saas-input-icon.text-danger {
    color: #dc3545 !important;
    display: block;
}

.saas-input-icon.text-muted {
    color: #6c757d !important;
    display: block;
}

.saas-input.is-valid {
    border-color: #28a745;
}

.saas-input.is-invalid {
    border-color: #dc3545;
}


.saas-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid #E3E8EE;
    background-color: #E3E8EE;
}

/* SaaS Tables */
table.saas-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 0;
}

table.saas-table th {
    background-color: #F9FAFC;
    color: #697386;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #E3E8EE;
    border-top: 1px solid #E3E8EE;
}

table.saas-table th:first-child {
    border-left: 1px solid #E3E8EE;
    border-top-left-radius: 8px;
}

table.saas-table th:last-child {
    border-right: 1px solid #E3E8EE;
    border-top-right-radius: 8px;
}

table.saas-table td {
    padding: 14px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #E3E8EE;
    color: #3C4257;
    font-size: 0.8rem;
}

table.saas-table tbody tr {
    transition: background-color 0.15s ease;
}

table.saas-table tbody tr:hover {
    background-color: #F9FAFC;
}

/* Show / hide password button (static/js/framework/password-toggle.js) */
.pw-toggle-wrap {
    position: relative;
    display: block;
}
.pw-toggle-wrap > input {
    padding-right: 2.75rem;
}
.pw-toggle-btn {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9CA3AF;
    padding: 0.25rem 0.4rem;
    line-height: 1;
    cursor: pointer;
}
.pw-toggle-btn:hover,
.pw-toggle-btn:focus-visible {
    color: #4B5563;
}
.pw-toggle-btn.pw-toggle-in-group {
    position: static;
    transform: none;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
}
