:root {
    --page-bg: #faf5eb;
    --background-start: #f8e9d4;
    --background-end: #f7f1e6;
    --white: #ffffff;
    --white-80: rgba(255, 255, 255, 0.8);

    --text-primary: #4A2418;
    --text-secondary: #7a5a49;
    --text-muted: #7a6b5d;

    --content: rgba(74, 17, 20, 68, .5);
    --label-text: rgba(74, 17, 20, 68, 1);
    --heading: rgba(92, 18, 22, 1);
    --heading-sub: rgba(141, 25, 32, 1);

    --border-light: #ccc;
    --border-muted: rgba(232, 201, 138, 0.8);

    --gold-sparkle: #C9A24A;
    --gold-lite: #E8C98A;
    --gold: #b57358;
    --gold-dark: #b06f46;
    --neutral-dark: #333333;
    --btn-primary: #8D1920;
    --btn-primary-hover: #3D1A15;
    --btn-bg-start: #3D1A15;
    --btn-bg-end: #6B1E2B;
    /* --inner-topbg-end: #5A1A2B; */
    --btn-border: #8D1920;

    --special-text: #8B6A1F;

    --card-bg: #fffbf6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    background: var(--page-bg);
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    color: var(--text-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Fraunces", sans-serif;
    font-weight: 400;
}

/* Preloader */
.loader-container {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top-color: var(--neutral-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.main-wrapper {
    display: flex;
    width: 100%;
    max-width: 520px;
    padding: 0 22px;
    position: relative;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
}

.floral-bg-one {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
}

.floral-bg-two {
    position: absolute;
    right: 0;
    top: 3rem;
    opacity: 1;
    width: 130px;
}

.floral-bg-three {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 1;
    width: 130px;
}

.logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.logo-wrapper .brand-logo {
    width: 100%;
    max-width: 110px;
    height: auto;
}

.seperator-line {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

.seperator-line img {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.mw-445 {
    max-width: 445px !important;
}

.mw-75 {
    max-width: 75px !important;
}

.underline {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

.underline img {
    width: 100%;
    max-width: 125px;
    height: auto;
}

.landing-page {
    min-height: 100vh;
    background: radial-gradient(circle at top, var(--background-start) 0%, var(--white) 52%, var(--background-end) 100%);
    font-family: "IBM Plex Sans", sans-serif;
    padding: 40px 0;
    position: relative;
    overflow-x: hidden;
}

.landing-shell {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}

.landing-page .brand-logo {
    width: 140px;
}

.landing-page.success-page-bg .brand-logo {
    width: 215px;
}

.brand-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

.landing-card {
    position: relative;
    border: 1px solid var(--border-muted);
    border-radius: 1.5rem;
    overflow: hidden;
    /* background: url(../../assets/images/bg-floralstamp.svg) no-repeat right -20px bottom -20px var(--white); */
    /* background-size: 45%; */
    box-shadow: 0px 25px 20px -20px rgba(74, 36, 24, .15);
}

.hero-block {
    position: relative;
    /* min-height: 260px; */
    border-radius: 1.8rem;
    overflow: hidden;
    box-shadow: 0px 25px 50px -12px rgba(74, 36, 24, .25);
}

.hero-block img {
    object-fit: cover;
    height: 100%;
}

.main-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-block .heading {
    font-size: 1.8rem;
    line-height: 2rem;
    letter-spacing: -0.4px;
    font-weight: 500;
    color: var(--heading);
}

.main-block .heading span {
    display: flex;
    flex-direction: column;
    color: var(--heading-sub);
}

.main-block p {
    font-size: .85rem;
    line-height: 1.4rem;
    color: var(--content);
}

.success-box .heading {
    color: var(--white)
}

.success-box .heading span {
    color: #EDCB86
}

.success-box p {
    color: var(--white-80)
}

.login-heading h2 {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
}

.divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.form-note {
    display: flex;
    gap: .67em;
    align-items: center;
    justify-content: center;
    color: var(--special-text);
    font-size: 0.75rem;
}

.form-note img {
    margin-top: .2rem
}

.custom-form-group {
    border: 1px solid var(--border-muted);
    height: 55px;
    gap: .8rem;
    border-radius: 3rem;
}

.custom-form-group select,
.custom-form-group input {
    border: none;
    outline: none;
    height: 100%;
    background: transparent;
}

.custom-form-group select {    
    padding: 0 0.6rem 0 1rem;
    margin: .5rem 0;
    height: 70%;
    border-radius: 3rem 0 0 3rem;
}

.custom-form-group input {    
    margin: .5rem 0;
    height: 70%;
    border-left: 1px solid var(--border-muted);
    border-radius: 0 3rem 3rem 0;
    box-shadow: none;
}

.form-check-input:checked {
    background-color: #fff;
    border-color: #fff;
}

.preferred-way {
    border: 1px dashed var(--border-muted);
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.preferred-way h6 {
    font-size: .9rem;
    padding-bottom: .5rem;
    border-bottom: 1px dashed var(--border-muted);
}

.alert-message.text-danger {
    font-weight: 500;
    font-size: .9rem;
}

.btn-primary,
.btn-primary:active {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fraunces", sans-serif;
    font-size: 1rem;
    background-color: var(--btn-primary) !important;
    border-color: var(--btn-border) !important;
    height: 55px;
    border-radius: 3rem;
}

.btn:disabled {
    background-color: var(--btn-primary);
    border-color: var(--btn-border);
    opacity: .5 !important;
}

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

.trusted-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    font-size: .8rem;
    color: var(--heading-sub);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .2rem;
    position: relative;
}

.trusted-title img {
    max-width: 75px;
    height: stretch;
}

.trusted-card,
.howitwork-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-muted);
    color: var(--card-text);
    min-height: 100px;
}

.howitwork-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    min-height: 85px;
    box-shadow: 0px 8px 18px -12px rgba(74, 36, 24, .20);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #FFF2EA;
    border: 1px solid #E6C3B6;
    border-radius: 50px;
    padding: 10px;
}

.trusted-card p {
    display: flex;
    flex-direction: column;
    font-family: "Fraunces", sans-serif;
    font-size: 0.75rem;
}

.howitwork-card p {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: .875rem;
    color: var(--content);
}

.trusted-card p span {
    font-family: "IBM Plex Sans", sans-serif;
    color: var(--special-text);
}

.consent-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 0 0 0;
}

.consent-items {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consent-items .caption {
    font-size: 0.8rem;
    text-align: left;
    padding-left: 0;
}

.consent-items .caption a {
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 2.5rem;
    left: 2rem;
    background: var(--white);
    border-radius: 50px;
    border: 2px solid #E6C3B6;
    opacity: .4;
}

.back-btn img {
    width: 24px;
}

.back-btn:hover {
    opacity: .6;
}

.story-box {
    display: flex;
    flex-direction: column;
}

.otp-input-section {
    padding: 10px 0px 30px 0px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.otp-box,
.story-box .form-control {
    width: 100%;
    max-width: 60px;
    height: 70px;
    border: 1px solid var(--border-muted);
    text-align: center;
    font-size: 1.2rem;
    background-color: var(--white);
    border-radius: .5rem;
    cursor: pointer;
}

.story-box .form-control {
    font-size: 1rem;
    height: 55px;
    max-width: none;
    text-align: left;
    border-radius: 0.875rem;
}

.story-box .form-label,
.landing-card label {
    font-weight: 500;
}

.story-box textarea.form-control {
    height: auto;
}


.otp-box.active {
    border-color: var(--btn-border);
}

.otp-timer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    font-size: .8rem;
    line-height: 1.2rem;
    font-weight: 400;
    color: var(--special-text);
}

/* Inner Page Styles Starts */

.inner-top-section {
    display: flex;
    flex-direction: column;
    height: 340px;
    background: #4D2F1C;
    background: linear-gradient(230deg, rgba(77, 47, 28, 1) 0%, rgba(61, 26, 21, 1) 43%, rgba(107, 30, 43, 1) 100%);
    position: relative;
    justify-content: space-between;
    padding: 30px 0;
}

.inner-page-wrapper {
    min-height: 100vh;
    background: var(--page-bg);
}

/* Header Section */
.inner-header {
    background: linear-gradient(230deg, rgba(77, 47, 28, 1) 0%, rgba(61, 26, 21, 1) 43%, rgba(107, 30, 43, 1) 100%);
    color: var(--white);
    padding: 40px 0 160px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 0 0 4rem 4rem;
}

.inner-header .container-fluid {
    z-index: 1;
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.header-brand {
    width: 60px;
}

.header-brand img {
    width: 100%;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.logout-btn img {
    width: 16px;
}

.welcome-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.welcome-label {
    color: var(--gold-lite);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.user-name {
    font-size: 1.8rem;
    font-family: "Fraunces", sans-serif;
    font-weight: 500;
    margin: 0;
}

.user-email {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Main Content Section */
.inner-content {
    padding: 0 0 30px 0;
    transform: translate(0px, -130px);
}

.inner-shell {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
}

.card-title {
    text-align: center;
    font-family: "Fraunces", sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 500;
}

/* Store Booking Section */
.store-booking-card {
    background: var(--white);
    border: 1px solid var(--border-muted);
    border-radius: 1.5rem;
    padding: 40px 28px;
    box-shadow: 0px 10px 15px -3px rgb(195 160 150 / 25%);
    margin-bottom: 30px;
    position: relative;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.booking-title h3 {
    font-size: 1.3rem;
    font-family: "Fraunces", sans-serif;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.booking-subtitle {
    font-size: 0.9rem;
    color: var(--special-text);
    margin: 0;
}

.booking-icon-btn {
    width: 50px;
    height: 50px;
    background: #FFF2EA;
    border: 1px solid #F6E3D8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-icon-btn:hover {
    background: #e8dcc0;
}

.booking-icon-btn img {
    width: 24px;
}

/* Custom Select/Input Styling */
.booking-select-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-muted);
    border-radius: 0.5rem;
    padding: 0;
    height: 55px;
    margin-bottom: 15px;
    overflow: hidden;
}

.booking-select-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    padding-left: 12px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.booking-select-icon img {
    width: 20px;
}

.booking-select-group select,
.booking-select-group input {
    flex: 1;
    border: none;
    padding: 12px 12px 12px 16px;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    font-family: "IBM Plex Sans", sans-serif;
    cursor: pointer;
    appearance: none;
}

.booking-select-group .form-select:focus {
    border-color: transparent;
    box-shadow: none;
}

.booking-select-group select::-webkit-calendar-picker-indicator {
    display: none;
}

.booking-select-group input::placeholder,
.booking-select-group select::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.booking-select-group:focus-within {
    border-color: var(--gold);
}

/* Confirm Button */
.confirm-btn {
    width: 100%;
    height: 55px;
    background: var(--btn-primary);
    border: 2px solid var(--btn-border);
    color: var(--white);
    font-family: "Fraunces", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.confirm-btn:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 30, 43, 0.3);
}

/* Trust Section */
.trust-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--special-text);
    font-size: 0.75rem;
    font-weight: 500;
}

.trust-item img {
    width: 16px;
}

.trust-divider {
    color: var(--special-text);
    opacity: 0.5;
}

/* Upload UI style starts */
.uploadbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    border: 1px dashed #E8A58F;
    border-radius: 20px;
    width: 100%;
    padding: 2rem;
}

.uploadbox.highlight {
    border-color: purple;
}

.uploadbox .file-input {
    display: none;
}

.format-alert {
    font-size: 0.75rem;
    font-family: "IBM Plex Sans", sans-serif;
    color: var(--special-text);
    margin-bottom: 0;
}

#gallery {
    margin-top: 10px;
}

#gallery img {
    width: 150px;
    margin-bottom: 10px;
    margin-right: 10px;
    vertical-align: middle;
}

.file-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #FFF2EA;
    border: 1px solid #E6C3B6;
    border-radius: 50px;
    padding: 10px;
}

.upload-btn {
    font-family: "Fraunces", sans-serif;
    font-size: 1rem;
    line-height: 1.6rem;
    letter-spacing: -0.4px;
    padding: 5px;
    cursor: pointer;
}

.preview-box {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.preview-box div {
    width: 90px;
    height: 70px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(200, 200, 200, .5);
    padding: 4px;
    border: 1px solid var(--border-muted);
}

.preview-box div .previewimg,
.preview-box div .vdopreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
}

.vdo-playbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    padding-left: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ae000b;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, .8);
    border-radius: 2rem;

}

.preview-box div .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 1px;
    right: 1px;
    background: var(--btn-primary);
    border: 1px solid var(--btn-primary);
    width: 27px;
    height: 26px;
    font-size: 1.2rem;
    line-height: normal;
    color: var(--white);
    border-radius: 2rem;
    padding: 0;
}

/* Upload UI style ends */

/* Success page style starts */
.success-page-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(192, 57, 95, 1);
    background: radial-gradient(100% 100% at 50.4% 2.6%, rgba(192, 57, 95, 1) 0%, rgba(183, 52, 85, 1) 7.49%, rgba(175, 47, 75, 1) 14.98%, rgba(166, 42, 64, 1) 22.48%, rgba(158, 36, 54, 1) 29.97%, rgba(149, 31, 43, 1) 37.46%, rgba(141, 25, 32, 1) 44.95%, rgba(134, 24, 31, 1) 52.69%, rgba(127, 23, 29, 1) 60.42%, rgba(120, 22, 28, 1) 68.16%, rgba(113, 21, 26, 1) 75.89%, rgba(106, 20, 25, 1) 83.63%, rgba(99, 19, 23, 1) 91.36%, rgba(92, 18, 22, 1) 99.1%);
}

.success-page-bg .landing-shell {
    max-width: 320px;
}

.success-box .btn-primary,
.success-box .btn-primary:active {
    background-color: var(--white) !important;
    border-color: var(--white-80) !important;
    color: var(--btn-primary);
    font-weight: 500;
}

/* Success page style ends */

/* Inner Page Styles Ends */

/* Modal Styles Starts */
.successModalbox {
    border-radius: 1.5rem;
}

.successModalbox .btn-close {
    border: 1px solid var(--btn-border);
    border-radius: 20px;
    padding: .6rem;
    position: absolute;
    top: .8rem;
    right: .8rem;
}

.successModalbox .brand-header {
    margin-top: 6rem !important;
}

.successModalbox .brand-header .brand-logo {
    width: 110px;
}

.successModalbox .success-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin: 0 auto;
    gap: 1rem;
}

.successModalbox .success-message h2 {
    margin-bottom: 0
}

.successModalbox .success-message p {
    line-height: 1.8rem;
    text-align: center;
    color: var(--special-text);
    margin: 0 1rem;
}

/* Modal Styles Ends */

/*! Custom CSS For Checkbox Starts !*/
.checkbox {
    --border: #D1D6EE;
    --border-hover: #BBC1E1;
    --border-active: rgb(163, 45, 57);
    position: relative;
}

.checkbox input,
.checkbox svg {
    width: 21px;
    height: 21px;
    display: block;
}

.checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    outline: none;
    background: var(--white);
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border-radius: 4px;
    transition: box-shadow 0.3s;
    box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));
}

.checkbox input:hover {
    --s: 2px;
    --b: var(--border-hover);
}

.checkbox input:checked {
    --b: var(--border-active);
}

.checkbox svg {
    pointer-events: none;
    fill: none;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--stroke, var(--border-active));
    position: absolute;
    top: 0;
    left: 0;
    width: 21px;
    height: 21px;
    transform: scale(var(--scale, 1)) translateZ(0);
}

.checkbox.path input:checked {
    --s: 2px;
    transition-delay: 0.4s;
}

.checkbox.path input:checked+svg {
    --a: 16.1 86.12;
    --o: 102.22;
}

.checkbox.path svg {
    stroke-dasharray: var(--a, 86.12);
    stroke-dashoffset: var(--o, 86.12);
    transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;
}

/*! Custom CSS For Checkbox Ends !*/

/* Button Loader CSS Starts */
.dot-loader {
    width: 10px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
    0% {
        box-shadow: 15px 0 rgba(180, 30, 45, 1), -15px 0 rgba(180, 30, 45, .9);
        background: rgb(180, 30, 45)
    }

    33% {
        box-shadow: 15px 0 rgba(180, 30, 45, 1), -15px 0 rgba(212, 53, 69, 0.9);
        background: rgba(226, 40, 40, 0.9)
    }

    66% {
        box-shadow: 15px 0 rgba(228, 152, 159, 0.9), -15px 0 rgba(180, 30, 45, 1);
        background: rgba(226, 40, 40, 0.9)
    }

    100% {
        box-shadow: 15px 0 rgba(180, 30, 45, .9), -15px 0 rgb(227, 86, 100);
        background: rgb(182, 28, 43)
    }
}

/* Button Loader Css Ends */

@media screen and (max-width: 370px) {
    .main-block .heading {
        font-size: 1.6rem;
        line-height: 1.8rem;
    }

    .trusted-card.p-3,
    .howitwork-card.p-3 {
        padding: 1rem .4rem .7rem .4rem !important;
    }

    .trusted-card p span {
        font-size: 0.65rem;
    }
}