@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

strong, b {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
}

em, i {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-style: italic;
}




.Select-menu-outer {
display : block !important;
}

.dash-table-container .row {
  margin: 0;
}


h4{
    color:#666666;
}

h2{
    color:#666666;
}


.btn-primary {
    background-color: #3085cc;
    border-color:#3085cc;
    color:#ffffff;
    font-weight:400;
}


.btn-success {
    background-color: #00693b;
    border-color:#00693b;
    color:#ffffff;
    font-weight:400;
}


.btn-info {
    background-color: #50C075;
    border-color:#50C075;
    color:#ffffff;
    font-weight:400;
}


.btn-link {
    background-color: #ffffff;
    border-color:#ffffff;
    color:#ff6a14;
    font-weight:400;
}


.btn-warning {
    background-color: #ffc600;
    border-color:#FFC600;
    color:#222222;
    font-weight:bold;
}


.btn-danger {
    background-color: #ff6a14;
    border-color:#FF6a14;
    color:#ffffff;
    font-weight:400;
}


.pulse-logo{
    margin-left:20px;
}

.navbar-container{
    background-color:#00693b !important;
    color:#ffffff;
    vertical-align:middle;
    text-align:center;
}

.navbar{
    background-color:#00693b;
    color:#ffffff;
    vertical-align:middle;
}

#current-company{
    color:#ffffff;
    text-align:right;
}

.sidebar{
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    padding: 2rem 1rem;
    background-color:#fff;
    height:100%;
    vertical-align:middle;
}


.tabulator .tabulator-header .tabulator-col {
    border-right: 1px solid #ffffff!important;
    background: #ffffff!important;
}
.tabulator-row .tabulator-cell {
    border-right: none!important;
}
.tabulator {
    border: 1px solid #e6e6e6!important;
    background-color: #ffffff!important;
}



a {
    color: #ff6a14;
}

.nav-pills a {
    color: #666666;
    padding:12px;
    font-weight: 600;
    text-align:center;
}


.nav-pills a:hover {
    color: #ff6a14;
    border-radius: 0;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #ff6a14;
    background-color: #ffffff;
    vertical-align:middle;
    text-align:center;
}

#logout{
    position:fixed;
    bottom: 2%;
}

.signup-form{
    margin-left:10px;
    margin-right:30px;
}

.input-field{
    margin:10px;
}

.phone-field{
    margin-top:10px;
    margin-bottom:10px;
    margin-left:10px;
}

.custom-checkbox {
    transform: scale(2.0);  /* Scale the checkbox to 150% of its original size */
}


@media screen {
    .vertical-margin{
        height:20vh;
    }
    .logo-layout-margin{
        height:5vh;
    }

}


@media screen and (max-width: 600px) {
    .vertical-margin{
        height:0;
        visibility:hidden;
    }
    .card-body{
        height:100vh;
    }
    .logo-layout-margin{
        height:25vh;
    }
    img[src*="vibebooks_logo.png"] {
        content: url('/assets/vibo_logo.svg');
    }
}

/* 1. The Main Clickable Wrapper */
.user-select-wrapper {
    position: relative; /* This is crucial for positioning the pseudo-element. */
    background-color: white;
    padding: 28px;
    border-radius: 20px; /* This will round the corners of the background. */
    cursor: pointer !important;
    /* NOTE: We have REMOVED border, box-shadow, and transition from the main element. */
}

/* 2. The Pseudo-Element for the Border and Shadow */
.user-select-wrapper::before {
    /* Required for any pseudo-element */
    content: '';

    /* Position it perfectly to cover the entire wrapper */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* This is where the visible border and shadow now live */
    border: 1px solid #d9d9d9;          /* Default grey border */
    border-radius: 20px;                /* Must match the parent's border-radius */
    box-shadow: 0 0 0 1px transparent;  /* Transparent shadow for smooth transition */

    /* The transition logic now applies ONLY to this layer */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;

    /* IMPORTANT: This makes the pseudo-element "invisible" to the mouse,
       so clicks pass through to the .user-select-wrapper behind it. */
    pointer-events: none;
}

/* 3. The 'selected' State */
/* When the wrapper has the 'selected' class, we change its pseudo-element */
.user-select-wrapper.selected::before {
    border-color: #3085cc !important;   /* Change border color to blue */
    box-shadow: 0 0 0 1px #3085cc;      /* Change shadow color to blue */
}


/* --- Custom Radio Button Circle (No Changes Needed) --- */
.radio-circle-indicator {
    border: 1px solid #adb5bd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    /* Add a z-index to ensure it sits on top of the ::before pseudo-element */
    z-index: 2;
}

.user-select-wrapper.selected .radio-circle-indicator {
    border-color: #3085cc;
}

.user-select-wrapper.selected .radio-circle-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #3085cc;
}

/* 1. Card for each product feature with border and shadow */
.product-card {
    border: 1px solid #d9d9d9;  /* The light grey border */
    border-radius: 12px;
    background-color: white;
    /* ADDED: Google-style box shadow for a subtle lift */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.12);
    transition: box-shadow 0.3s ease-in-out;
}

.product-card:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.18);
}

/* 2. "Learn more" button styling */
.btn-learn-more {
    background-color: #feb600 !important;   /* Gold color */
    border-color: #feb600 !important;
    color: #000000 !important;              /* Black text */
    font-size: 16px !important;             /* Font 16 */
    font-weight: bold !important;           /* Bold */
    border-radius: 8px !important;          /* Corner rounding 8px */
    padding: 6px 16px !important;
}

/* 3. "Back" button styling */
.btn-back {
    font-size: 18px !important;
    font-weight: 500 !important;
    border-radius: 16px !important;         /* Corner rounding 16 */
    border: 1px solid #d9d9d9 !important;   /* Outline color #d9d9d9 */
    background-color: white !important;     /* FIX: White background */
    color: #212529 !important;              /* Dark text */
    padding: 12px 0 !important;
}

.btn-back:hover {
    background-color: #f8f9fa !important; /* Slight grey on hover */
}

/* 4. "Activate My Free Trial" button styling */
.btn-activate {
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 16px !important;         /* Corner rounding 16 */
    background-color: #3085cc !important;
    border-color: #3085cc !important;
    padding: 12px 0 !important;
}

.btn-activate:hover {
    background-color: #2a73b3 !important;
    border-color: #2a73b3 !important;
}

/* Container for the status line icon. (Unchanged) */
.status-icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

/*
 * CORRECTED: Style for the spinner's wrapper DIV and the checkmark IMAGE.
 * Both are positioned to overlap perfectly.
*/
.status-icon-wrapper > div,
.status-icon-wrapper > .status-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.4s ease-in-out; /* The fade effect */
    /* These flex properties ensure the spinner is centered inside its wrapper */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* This class makes either the spinner wrapper or the checkmark visible. (Unchanged) */
.status-icon-wrapper .visible {
    opacity: 1;
}

/* Style for the checkmark image. (Unchanged) */
.status-checkmark {
    object-fit: contain;
}

/* ------------------------------------------------------------------ */
/* vibebooks auth signup — aligned to vibo design tokens               */
/* ------------------------------------------------------------------ */
.vibo-auth-page {
    --vibe-bg-base: #F5F7FA;
    --vibe-surface: #ffffff;
    --vibe-action-blue: #4285F4;
    --vibe-action-blue-hover: #2F6FE4;
    --vibe-text-primary: #1F2937;
    --vibe-text-muted: #6B7280;
    --vibe-border: #D1D9E6;
    --vibe-focus: rgba(66, 133, 244, 0.28);

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: var(--vibe-bg-base);
    box-sizing: border-box;
}

.vibo-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--vibe-surface);
    border: 1px solid var(--vibe-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
    padding: 40px 36px 32px;
    box-sizing: border-box;
}

.vibo-auth-logo {
    display: block;
    height: 36px;
    width: auto;
    margin: 0 auto 28px;
}

.vibo-auth-title {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--vibe-text-primary);
    text-align: center;
    line-height: 1.3;
}

.vibo-auth-subtitle {
    margin: 0 0 28px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--vibe-text-muted);
    text-align: center;
    line-height: 1.45;
}

.vibo-auth-form .vibo-auth-input,
.vibo-auth-form .vibo-auth-input.form-control {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0 0 12px;
    padding: 10px 14px;
    border: 1px solid var(--vibe-border);
    border-radius: 10px;
    background: #fff;
    color: var(--vibe-text-primary);
    font-size: 0.9375rem;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vibo-auth-form .vibo-auth-input:focus,
.vibo-auth-form .vibo-auth-input.form-control:focus {
    border-color: var(--vibe-action-blue);
    box-shadow: 0 0 0 3px var(--vibe-focus);
    outline: none;
}

.vibo-auth-form .vibo-auth-input::placeholder {
    color: #9CA3AF;
}

.vibo-auth-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}

.vibo-auth-name-row .vibo-auth-input {
    margin-bottom: 12px;
}

.vibo-auth-phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1.35fr);
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.vibo-auth-phone-row .vibo-auth-input {
    margin-bottom: 0;
}

.vibo-auth-country {
    min-width: 0;
}

.vibo-auth-country .Select-control,
.vibo-auth-country .css-13cymwt-control,
.vibo-auth-country .css-t3ipsp-control,
.vibo-auth-country > div {
    min-height: 44px !important;
    border-radius: 10px !important;
    border-color: var(--vibe-border) !important;
    box-shadow: none !important;
}

.vibo-auth-country .Select-control:hover,
.vibo-auth-country .css-13cymwt-control:hover {
    border-color: #B8C2D4 !important;
}

/* dash dcc.Dropdown (react-select) — keep height aligned with inputs */
.vibo-auth-phone-row #phone-country .Select-control,
.vibo-auth-phone-row #phone-country > div[class*="-control"] {
    min-height: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    border: 1px solid var(--vibe-border) !important;
    box-shadow: none !important;
    align-items: center;
}

.vibo-auth-phone-row #phone-country .Select-value,
.vibo-auth-phone-row #phone-country .Select-placeholder,
.vibo-auth-phone-row #phone-country div[class*="-singleValue"],
.vibo-auth-phone-row #phone-country div[class*="-placeholder"] {
    line-height: 42px !important;
    font-size: 0.9375rem;
    color: var(--vibe-text-primary);
}

.vibo-auth-dial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--vibe-text-primary);
    white-space: nowrap;
}

.vibo-auth-tnc {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 20px;
    font-size: 0.875rem;
    color: var(--vibe-text-muted);
}

.vibo-auth-tnc .form-check-input {
    margin-top: 3px;
    width: 1.05rem;
    height: 1.05rem;
    border-color: var(--vibe-border);
    flex-shrink: 0;
}

.vibo-auth-tnc .form-check-input:checked {
    background-color: var(--vibe-action-blue);
    border-color: var(--vibe-action-blue);
}

.vibo-auth-tnc-label a {
    color: var(--vibe-action-blue);
    font-weight: 500;
    text-decoration: none;
}

.vibo-auth-tnc-label a:hover {
    text-decoration: underline;
}

.vibo-auth-submit {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: var(--vibe-action-blue) !important;
    border-color: var(--vibe-action-blue) !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.08);
}

.vibo-auth-submit:hover,
.vibo-auth-submit:focus {
    background: var(--vibe-action-blue-hover) !important;
    border-color: var(--vibe-action-blue-hover) !important;
    color: #fff !important;
}

.vibo-auth-footer {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--vibe-text-muted);
}

.vibo-auth-footer a {
    color: var(--vibe-action-blue);
    font-weight: 600;
    text-decoration: none;
}

.vibo-auth-footer a:hover {
    text-decoration: underline;
}

.vibo-auth-success .vibo-auth-title {
    margin-bottom: 12px;
}

.vibo-auth-success .vibo-auth-subtitle {
    margin-bottom: 12px;
    text-align: left;
}

.vibo-auth-success .vibo-auth-footer {
    margin-top: 8px;
    text-align: left;
}

@media screen and (max-width: 600px) {
    .vibo-auth-page {
        padding: 16px 12px;
        align-items: flex-start;
    }

    .vibo-auth-card {
        padding: 28px 20px 24px;
        border-radius: 14px;
        max-width: 100%;
    }

    .vibo-auth-name-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vibo-auth-phone-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vibo-auth-dial {
        justify-content: flex-start;
        height: auto;
        padding: 0;
    }
}