@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #2F50DE;
    --secondary-color: #1C8EC1;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --backgroud-color: #f6f6f6;
    
    --font-family: "Inter", sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.5;
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-sm: 0.25rem;
    
    --box-shadow: 0 0 10px rgb(0 0 0 / 56%);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    
    --transition: 0.9s ease-out;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--white);
    background-color: var(--backgroud-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
p {
    letter-spacing: -1px;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    line-height: 1.1;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

.btn-outline-secondary {
    border-color: var(--gray-400);
    color: var(--gray-700);
}

.btn-outline-secondary:hover {
    background-color: var(--gray-700);
    border-color: var(--gray-700);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== UTILITIES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--box-shadow-sm) !important;
}

.shadow {
    box-shadow: var(--box-shadow) !important;
}

.shadow-lg {
    box-shadow: var(--box-shadow-lg) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Slide down animation for closing the bottom sheet modal */
.bottom-sheet-modal .modal-dialog.slide-down {
  animation: bottomSheetSlideDown 0.35s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes bottomSheetSlideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0.7;
  }
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== FOCUS STYLES ===== */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== SELECTION STYLES ===== */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



.form-group {
    margin-bottom: 20px;
}
.invalid-feedback {
    text-transform: capitalize;
}

a:focus {
    outline: none;
}

a {
    text-decoration: none;
}

.dropdown-toggle::after {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.alert-login-validation {
    margin-bottom: 7px !important;
    padding-bottom: 7px !important;
}
/* style.css or dashboard-interview.css */
.purchase-credits-modal-content {
    background: #f8f9fa;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.12);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

    .purchase-credits-modal-content .card {
        transition: box-shadow 0.2s;
    }

        .purchase-credits-modal-content .card:hover {
            box-shadow: 0 4px 24px rgba(44, 62, 80, 0.18);
        }

    .purchase-credits-modal-content .card-title {
        font-weight: 600;
        color: #2346d8;
    }

    .purchase-credits-modal-content .btn-primary,
    .purchase-credits-modal-content .btn-success {
        font-weight: 500;
        font-size: 1.05rem;
        border-radius: 0.75rem;
    }

    .purchase-credits-modal-content .form-control {
        border-radius: 0.75rem;
    }
.user-dropdown-menu .dropdown-item {
    font-size: 16px;
    padding: 10px 18px;
    transition: background 0.15s;
    gap: 8px;
}

    .user-dropdown-menu .dropdown-item i {
        font-size: 18px;
        min-width: 22px;
        text-align: center;
    }

    .user-dropdown-menu .dropdown-item:hover,
    .user-dropdown-menu .dropdown-item:focus {
        background: #f0f4ff;
        color: #2346d8;
    }

@media (max-width: 575px) {
    .user-dropdown-menu .dropdown-item {
        font-size: 15px;
        padding: 12px 14px;
    }

    .user-img-box .user-img {
        height: 40px;
        width: 40px;
    }
}

#creditStatusDropdown {
    font-weight: 500;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
}

@media (max-width: 575px) {
    #creditStatusDropdown {
        font-size: 13px;
        padding: 6px 10px;
    }
}
.credit-status-box {
    display: flex;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 10px;
    min-height: 38px;
}

.credit-pill {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #2F50DE 60%, #1C8EC1 100%);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    padding: 7px 18px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    gap: 8px;
    min-width: 120px;
    transition: background 0.2s;
}

    .credit-pill i {
        font-size: 18px;
        margin-right: 6px;
    }

@media (max-width: 575px) {
    .credit-status-box {
        justify-content: flex-start;
        min-height: 32px;
    }

    .credit-pill {
        font-size: 13px;
        padding: 6px 12px;
        min-width: 90px;
    }
}
.terms-registration {
    color: var(--black);
}
.professional-modal {
    border-radius: 24px 24px 0 0;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.12);
    background: var(--white);
    padding: 0;
    font-family: var(--font-family);
    color: var(--black);
    max-width: 700px;
    margin: auto;
}

.modal-logo {
    height: 48px;
    margin-bottom: 8px;
}

.terms-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--black);
}

    .terms-content h2, .terms-content h1 {
        font-size: 1.4rem;
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        color: var(--primary-color);
    }

    .terms-content ul {
        padding-left: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .terms-content li {
        margin-bottom: 0.5rem;
    }

    .terms-content a {
        color: var(--secondary-color);
        text-decoration: underline;
    }

@media (max-width: 767px) {
    .professional-modal {
        border-radius: 18px 18px 0 0;
        max-width: 98vw;
        padding: 0;
    }

    .modal-logo {
        height: 36px;
    }

    .terms-content {
        font-size: 0.98rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }
}
canvas {
    max-width: 100%;
    height: 320px !important;
}