:root {
    /* Body */
    --body-bg: #ffffff;

    /* Typography */
    --font-family-sans-serif: "Poppins", sans-serif;
    --font-size-base: 0.9rem;
    --line-height-base: 1.6;
    --primary: #6c70dc;
    --primary-dark: #6063c0;
}

/* Body */
body {
    background-color: var(--body-bg);
    font-family: var(--font-family-sans-serif);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.fa-eye,
.fa-eye-slash {
    color: var(--primary);
}

/* Buttons */
/* .btn-primary {
    background-color: var(--primary) !important;
    color: white !important;
} */
button:hover,
button:active,
button:focus {
    background-color: var(--primary-dark) !important;
}

/* Links */
a:hover,
a:active,
a:focus {
    color: var(--primary-dark) !important;
}

/* Typography */
.title {
    font-size: 2.5rem;
    font-family: "Poppins", serif;
}
.subtitle {
    font-size: 1.125rem;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 300;
    line-height: 1.5;
}

.fw-900 {
    font-weight: 900 !important;
}
.fw-600 {
    font-weight: 600 !important;
}
.form-label {
    font-size: 1.1rem !important;
    font-weight: 500;
    text-transform: none !important;
}

.form-label-small {
    font-size: 1rem !important;
    font-weight: 500;
    text-transform: none !important;
}

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

.mt-10 {
    margin-top: 10rem !important;
}

.w-90 {
    width: 90% !important;
}

.light-style .bs-stepper {
    background-color: #ffffff;
}

.light-style .bs-stepper .bs-stepper-header {
    border-bottom: none;
}

.input-group-text {
    background-color: #ffffff;
}

.bs-stepper .bs-stepper-header .step .bs-stepper-circle i.icon-base {
    font-size: 1.5rem;
    inline-size: 1.5rem;
    block-size: 1.5rem;
}

.bs-stepper .bs-stepper-header .step .bs-stepper-circle {
    font-size: 1.5rem;
    height: 2.5rem;
    width: 2.5rem;
}

.bs-stepper .bs-stepper-header .step .step-trigger:hover,
.bs-stepper .bs-stepper-header .step .step-trigger:active,
.bs-stepper .bs-stepper-header .step .step-trigger:focus {
    background-color: transparent !important;
}

/* Form Controls */
.form-control {
    /* padding: calc(0.8555rem - 1px) calc(1rem - 1px); */
    display: block !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.375 !important;
    color: #433c50 !important;
    appearance: none !important;
    /* background-color: rgba(0, 0, 0, 0) !important; */
    border: 1px solid #d1cfd4 !important;
    border-radius: 0.375rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.form-control:focus {
    color: #433c50 !important;
    /* background-color: rgba(0, 0, 0, 0) !important; */
    outline: 0 !important;
    box-shadow: none !important;
    border-width: 2px !important;
    /* padding: calc(0.8555rem - 2px) calc(1rem - 2px) !important; */
}

.custom-option.disabled:hover {
    border: 1px solid #d9dee3;
}

/* Input Group */
.input-group-text {
    border: 1px solid #d1cfd4;
}
.input-group:not(.input-group-floating):focus-within .form-control,
.input-group:not(.input-group-floating):focus-within .input-group-text {
    border-width: 2px !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.input-group-merge input {
    border-right: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.input-group-merge .input-group-text {
    border-left: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Background */
.bg-right {
    background: rgb(107, 108, 252);
    background: linear-gradient(82deg, rgba(107, 108, 252,1) 14%, rgba(140, 251, 249, 0.6) 94%);
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #434343a9;
    z-index: 1;
}
.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically */
    height: 100%; /* Ensure it takes full height */
}

.image-content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically */
    height: 100%; /* Ensure it takes full height */
}

/* Mobile view: shrink the wrapper div to 50% height */
@media (max-width: 767px) {
    .image-content{
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center text vertically */
        height: auto !important; /* Ensure it takes full height */
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}


.position-absolute {
    position: absolute; /* Make the image position absolute */
    top: 20px; /* Adjust this value as needed */
    left: 10px; /* Adjust this value as needed */
}

/* Misc */
.mw-25 {
    max-width: 16% !important;
}

.logo-light {
    max-height: 12%;
    width: auto;
}
.mw-50 {
    max-width: 50% !important;
}
.book-form {
    display: flex;
    flex-direction: column;
}

.book-form button {
    margin-top: 1rem; /* Optional: Adds space above the button */
}

.main-row-height {
    height: 100vh !important;
}

/* Form column scrolling */
.form-column-scroll {
    height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Media Queries */
@media screen and (min-width: 768px) {
    .register-form {
        max-width: 70% !important;
    }
    .main-row-height {
        height: 100vh !important;
    }
    .top-height {
        height: 100vh !important;
    }
    .form-column-scroll {
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}
@media screen and (max-width: 768px) {
    .register-form {
        max-width: 85% !important;
    }
    .title {
        font-size: 8vw !important;
    }
    .subtitle {
        font-size: 4vw !important;
    }
    .main-row-height {
        height: 100% !important;
    }
    .top-height {
        min-height: 500px !important;
    }
}
@media (max-width: 480px) {
    .title {
        font-size: 10vw !important;
    }
    .subtitle {
        font-size: 5vw !important;
    }
    .main-row-height {
        height: 100% !important;
    }
    .top-height {
        min-height: 450px !important;
    }
    .logo-light {
        max-height: 16%;
        width: auto;
    }
}

/* Custom Classes */

.custom-option-icon .custom-option-body .custom-option-title {
    font-size: 1rem;
    font-weight: 600;
}

span.badge.badge-center.rounded-pill.bg-label-primary.p-0.me-3 {
    block-size: 1rem;
    inline-size: 1rem;
}

.input-group.input-group-merge.has-validation.position-relative {
    box-shadow: none;
}

#billing-tab .card-number-input-group div#card-number-element,
#billing-tab .card-expiry-input-group div#card-expiry-element,
#billing-tab .card-cvv-input-group div#card-cvv-element {
    padding: 15px 15px;
    width: 100%;
    display: block;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.375;
    color: #433c50;
    appearance: none;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #d1cfd4;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#billing-tab .card-number-input-group div#card-number-element.StripeElement--focus,
#billing-tab .card-expiry-input-group div#card-expiry-element.StripeElement--focus,
#billing-tab .card-cvv-input-group div#card-cvv-element.StripeElement--focus {
    color: #433c50 !important;
    background-color: rgba(0, 0, 0, 0) !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-width: 2px !important;
    border-color: #696cff !important;
    padding: 15px 15px !important;
}

#billing-tab .card-number-input-group div#card-number-element.StripeElement--invalid,
#billing-tab .card-expiry-input-group div#card-expiry-element.StripeElement--invalid,
#billing-tab .card-cvv-input-group div#card-cvv-element.StripeElement--invalid,
#billing-tab .card-number-input-group div#card-number-element.StripeElement--empty.is-invalid,
#billing-tab .card-expiry-input-group div#card-expiry-element.StripeElement--empty.is-invalid,
#billing-tab .card-cvv-input-group div#card-cvv-element.StripeElement--empty.is-invalid {
    border-color: #ff3e1d !important;
}

#billing-tab .card-number-input-group img#payment-logo,
#billing-tab .card-cvv-input-group img#card-cvv-logo{
    top: 41px;
    right: 17px;
}

#billing-tab .plan-details ul i.icon-base.bx.bx-check.icon-xs {
    position: relative;
    top: -8px;
    left: -8px;
}

#billing-tab .form-check.custom-option.custom-option-basic span.badge {
    font-size: 1.25rem;
    font-weight: 500;
}

#billing-tab .form-check.custom-option.custom-option-basic span.badge small {
    font-size: 0.6rem;
    font-weight: 500;
}

#billing-tab .form-check.custom-option.custom-option-basic span.text-heading {
    font-size: 0.938rem;
    font-weight: 500;
}

#billing-tab .form-check.custom-option.custom-option-basic .form-check-input {
    margin-top: 0.5rem;
}

#billing-tab .form-check.custom-option.custom-option-basic span.custom-option-body small {
    font-size: 0.813rem;
    font-weight: 400;
}

#billing-tab .plan-details h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

#billing-tab .plan-details ul.list-group li span {
    font-size: 0.938rem;
    font-weight: 400;
}

#billing-tab .plan-details ul.list-group li:last-child {
    margin-bottom: 0px !important;
}

#billing-tab .form-check.custom-option.custom-option-basic span.badge.bg-label-success {
    background-color: #CCFBC0 !important;
    color: #2FA358 !important;
}

#billing-tab .form-check.custom-option.custom-option-basic span.badge.bg-label-warning {
    color: #E59900 !important;
    background-color: #FFAB0029 !important;
}

#summary-tab .text-success {
    color: #2FA358 !important;
}

#summary-tab .text-warning {
    color: #E59900 !important;
}

#summary-tab .summary-wrapper .selected_plan_value span.badge {
    font-size: 0.8rem;
    padding: 8px 10px 5px 10px;
    font-weight: 500;
}

#summary-tab .summary-wrapper span.w-70 {
    font-weight: 500 !important;
}

.w-30 {
    width: 30% !important;
}

.w-70 {
    width: 70% !important;
}

#billing-tab .plan-details-wrapper .list-group {
    height: 310px;
    overflow-x: auto;
}

#billing-tab #plan_2_details .plan-details .plan-feature-2,
#billing-tab #plan_2_details .plan-details .plan-feature-3,
#billing-tab #plan_2_details .plan-details .plan-feature-4,
#billing-tab #plan_2_details .plan-details .plan-feature-5,
#billing-tab #plan_2_details .plan-details .plan-feature-6,
#billing-tab #plan_2_details .plan-details .plan-feature-7 {
    display: none !important;
}

#billing-tab #plan_3_details .plan-details .plan-feature-2,
#billing-tab #plan_3_details .plan-details .plan-feature-3,
#billing-tab #plan_3_details .plan-details .plan-feature-4,
#billing-tab #plan_3_details .plan-details .plan-feature-5,
#billing-tab #plan_3_details .plan-details .plan-feature-6,
#billing-tab #plan_3_details .plan-details .plan-feature-7,
#billing-tab #plan_3_details .plan-details .plan-feature-10,
#billing-tab #plan_3_details .plan-details .plan-feature-11,
#billing-tab #plan_3_details .plan-details .plan-feature-12,
#billing-tab #plan_3_details .plan-details .plan-feature-13,
#billing-tab #plan_3_details .plan-details .plan-feature-14,
#billing-tab #plan_3_details .plan-details .plan-feature-16,
#billing-tab #plan_3_details .plan-details .plan-feature-17,
#billing-tab #plan_3_details .plan-details .plan-feature-18,
#billing-tab #plan_3_details .plan-details .plan-feature-19,
#billing-tab #plan_3_details .plan-details .plan-feature-20,
#billing-tab #plan_3_details .plan-details .plan-feature-21 {
    display: none !important;
}

/* custom css styles */
.landing-green-bg{
    background-color: #47d90c !important;
    color: white !important;
    transition: background-color 0.3s ease;
    border: 1px solid #47d90c !important;
}

.btn.landing-green-bg:hover {
    background-color: #3ebf0a !important; /* Slightly darker green */
    border: 1px solid #3ebf0a !important;
}

/* Ensure flex items ini summary tab wrap on small screens */
.summary-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.summary-wrapper > div {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.summary-wrapper span {
    flex: 1 1 auto;
}

.summary-wrapper span.label {
    font-weight: 600;
    min-width: 120px; /* optional for desktop alignment */
}

.summary-wrapper span.value {
    text-align: right;
    word-break: break-word;
}

/* Checkbox spacing */
.is-confirmed-wrapper {
    margin-top: 1rem;
}

.bs-stepper-title{
    font-size: 0.6rem !important;
    font-weight: 600 !important;
}

.bs-stepper-subtitle{
    font-size: 0.6rem !important;
}

@media (max-width: 1329px) and (min-width: 992px) {
    .bs-stepper-title{
        font-size: 0.55rem !important;
    }

    .bs-stepper-subtitle{
        font-size: 0.55rem !important;
    }
}

@media (max-width: 1270px) and (min-width: 992px) {
    .bs-stepper-title {
        display: none !important;
    }

    .bs-stepper-subtitle {
        display: none !important;
    }
}

@media (max-width: 576px) {
    /* Stack label/value vertically on very small screens */
    .summary-wrapper > div {
        flex-direction: column;
        align-items: flex-start;
    }
    .summary-wrapper span.value {
        text-align: left;
        margin-top: 0.25rem;
    }
    #summary-tab .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .registration-img-title{
        font-size: 2rem !important;
    }

    .logo-favicon{
        max-width: 40% !important;
    }
}

.signup-image{
    position:relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    background-image: url('/assets/img/register-side-image-3.jpg');
}

.signup-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #282828d0;
    z-index: 1;
}

.signup-image .overlay,
.signup-image .image-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    /* .signup-image {
        display: none !important;
    } */
}


/* .bs-stepper .bs-stepper-content {
    padding: 0 !important;
} */


.badge-margin-bottom{
    margin-bottom: 2px !important;
}

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

.iti__country-list {
    z-index: 1060;
}

.iti__flag-container {
    padding-right: 8px;
    display: flex !important;
    align-items: center !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
    color: #6c757d;
}

.iti__selected-country {
    border-right: 1px solid #dee2e6;
    padding-right: 8px;
    margin-right: 8px;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Fix alignment in validated state */
.iti.iti--allow-dropdown {
    display: flex !important;
    align-items: stretch !important;
}

.iti.iti--allow-dropdown .iti__flag-container {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 12px !important;
}

.iti.iti--allow-dropdown .iti__selected-country {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* Match Bootstrap form-control styling */
.iti__tel-input {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
    padding: 0.4375rem 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.53;
    color: #697a8d;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
}

.iti__tel-input:focus {
    border-color: #FF6900;
    box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.25);
    outline: 0;
}

.iti__tel-input.is-invalid {
    border-color: #ff3e1d;
}

.iti__tel-input.is-valid {
    border-color: #71dd37;
}

/* Error styling */
.iti__tel-input.is-invalid + .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #ff3e1d;
}

/* Password field z-index fix when phone field has validation */
#password-div,
#confirm-password-div,
#password-div .input-group,
#confirm-password-div .input-group {
    position: relative;
    z-index: 1;
}

/* Ensure intl-tel-input dropdown appears above password fields */
.iti__country-list {
    z-index: 1060 !important;
}

/* Plan Card Selection Styles */
.plan-card {
    transition: all 0.3s ease;
    position: relative;
}

.plan-card.cursor-pointer {
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.plan-card.selected {
    border-color: #FF6900 !important;
    border-width: 2px !important;
    box-shadow: 0 4px 20px #ff6a005e;
}

/* Add checkmark icon for selected plan */
.plan-card.selected::before {
    content: '\2713';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FF6900;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 10;
}

/* Hide tabs and stepper steps when needed */
/* .step[data-target="#storage-facility-plan-tab"],
.step[data-target="#plan-tab"] {
    transition: opacity 0.3s ease, visibility 0.3s ease;
} */

/* Hide plan tabs by default until business category is selected */
/* This class prevents tabs from being in the stepper flow initially */
/* #storage-facility-plan-tab.d-none-initial:not(.active),
#plan-tab.d-none-initial:not(.active) {
    display: none !important;
} */

/* When BS Stepper makes a tab active, override the d-none-initial */
/* #storage-facility-plan-tab.d-none-initial.active,
#plan-tab.d-none-initial.active {
    display: block !important;
} */

/* Hide stepper steps by default */
/* .step[data-target="#storage-facility-plan-tab"],
.step[data-target="#plan-tab"],
.step[data-target="#storage-facility-plan-tab"] + .line,
.step[data-target="#plan-tab"] + .line {
    display: none;
} */

/* .step[data-target="#storage-facility-plan-tab"].hide,
.step[data-target="#plan-tab"].hide {
    display: none !important;
} */

/* Stepper conditional navigation transitions */
.bs-stepper-header .step,
.bs-stepper-header .line {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.bs-stepper-header .step[style*="display: none"],
.bs-stepper-header .line[style*="display: none"] {
    opacity: 0;
    transform: scale(0.9);
}

/* Plan card selection styles */
.plan-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plan-card.selected {
    border-color: #FF6900 !important;
    box-shadow: 0 0 0 2px rgba(255, 105, 0, 0.2);
    transform: translateY(-1px);
}

.plan-card.selected .card-header .badge {
    background-color: #FF6900 !important;
    color: white !important;
}

/* Business category dropdown focus styles */
#business_category:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(108, 112, 220, 0.25);
}

/* Sitemap Dropzone Styling - Sneat Bootstrap Theme */
#sitemapDropzone {
    border: 2px dashed #d9dee3;
    border-radius: 0.5rem;
    background-color: #fff;
    padding: 3rem 1rem;
    min-height: 250px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#sitemapDropzone:hover {
    border-color: #696cff;
    background-color: rgba(105, 108, 255, 0.04);
}

#sitemapDropzone.dz-drag-hover {
    border-color: #696cff;
    background-color: rgba(105, 108, 255, 0.08);
    border-style: solid;
}

#sitemapDropzone .dz-message {
    text-align: center;
    margin: 0;
}

#sitemapDropzone .dz-message i {
    color: #a1acb8;
    transition: color 0.3s ease;
}

#sitemapDropzone:hover .dz-message i {
    color: #696cff;
}

#sitemapDropzone .dz-message h5 {
    color: #566a7f;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

#sitemapDropzone .dz-message p {
    color: #a1acb8;
    font-size: 0.9375rem;
}

#sitemapDropzone .dz-message small {
    color: #a1acb8;
    font-size: 0.8125rem;
}

/* Dropzone preview */
#sitemapDropzone .dz-preview {
    margin: 1rem;
    min-height: 100px;
}

#sitemapDropzone .dz-preview .dz-image {
    border-radius: 0.5rem;
    width: 120px;
    height: 120px;
    border: 1px solid #d9dee3;
}

#sitemapDropzone .dz-preview .dz-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#sitemapDropzone .dz-preview .dz-details {
    padding: 0.5rem;
}

#sitemapDropzone .dz-preview .dz-details .dz-filename {
    font-size: 0.875rem;
    font-weight: 500;
    color: #566a7f;
}

#sitemapDropzone .dz-preview .dz-details .dz-size {
    font-size: 0.8125rem;
    color: #a1acb8;
}

#sitemapDropzone .dz-preview .dz-progress {
    height: 0.375rem;
    border-radius: 0.25rem;
    overflow: hidden;
    background-color: #e7e7ff;
}

#sitemapDropzone .dz-preview .dz-progress .dz-upload {
    background: linear-gradient(270deg, #696cff, #5f61e6);
    height: 100%;
    border-radius: 0.25rem;
}

#sitemapDropzone .dz-preview .dz-success-mark,
#sitemapDropzone .dz-preview .dz-error-mark {
    display: none;
}

#sitemapDropzone .dz-preview.dz-success .dz-success-mark {
    display: block;
    color: #71dd37;
}

#sitemapDropzone .dz-preview.dz-error .dz-error-mark {
    display: block;
    color: #ff3e1d;
}

#sitemapDropzone .dz-preview .dz-remove {
    font-size: 0.8125rem;
    color: #ff3e1d;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

#sitemapDropzone .dz-preview .dz-remove:hover {
    color: #d63018;
    text-decoration: underline;
}

#sitemapDropzone .dz-preview .dz-error-message {
    display: none;
    position: absolute;
    background: #ff3e1d;
    color: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    z-index: 10;
}

#sitemapDropzone .dz-preview.dz-error .dz-error-message {
    display: block;
}

/* Hide default Dropzone message when file is added */
#sitemapDropzone.dz-started .dz-message {
    display: none;
}

/* Storage Facility Plan - Responsive Columns */
@media (max-width: 1271px) {
    /* Stack the two columns vertically */
    #storage-facility-plan-tab .row > .col-md-6 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    /* Remove border-end from first column when stacked */
    #storage-facility-plan-tab .col-md-6.border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust spacing for stacked layout */
    #storage-facility-plan-tab .col-md-6:last-child {
        padding-top: 1rem;
    }
}


.color-preview {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background-color: #FF6900; /* default color */
  transition: background-color 0.3s ease;
}

/* Dropdown Item Hover Override - Orange Theme */
#unitSizeDropdown + .dropdown-menu .dropdown-item:hover,
#unitSizeDropdown + .dropdown-menu .dropdown-item:focus {
    background-color: #ff6a0024 !important;
    color: #FF6900 !important;
}

#unitSizeDropdown + .dropdown-menu .dropdown-item:hover i,
#unitSizeDropdown + .dropdown-menu .dropdown-item:focus i {
    color: #FF6900 !important;
}

/* Keep delete item red on hover */
#unitSizeDropdown + .dropdown-menu .dropdown-item.text-danger:hover,
#unitSizeDropdown + .dropdown-menu .dropdown-item.text-danger:focus {
    background-color: #ff3e1d !important;
    color: #ffffff !important;
}

#unitSizeDropdown + .dropdown-menu .dropdown-item.text-danger:hover i,
#unitSizeDropdown + .dropdown-menu .dropdown-item.text-danger:focus i {
    color: #ffffff !important;
}

/* Button Icon Active State - Orange Theme */
.btn-icon:active,
.btn-icon.active,
.btn-icon:focus {
    background-color: #ff6a0024 !important;
    color: #FF6900 !important;
    border-color: #FF6900 !important;
}

.btn-icon:active i,
.btn-icon.active i,
.btn-icon:focus i {
    color: #FF6900 !important;
}

/* Specific styling for the unit size dropdown button */
#unitSizeDropdown:active,
#unitSizeDropdown.active,
#unitSizeDropdown:focus,
#unitSizeDropdown.show {
    background-color: #ff6a0024 !important;
    color: #FF6900 !important;
    border-color: #FF6900 !important;
}

#unitSizeDropdown:active i,
#unitSizeDropdown.active i,
#unitSizeDropdown:focus i,
#unitSizeDropdown.show i {
    color: #FF6900 !important;
}

/* Unit Size Item Styling */
.unit-size-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.unit-size-item:hover {
    border: 1px solid #FF6900 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.314) !important;
}

/* Dynamic Unit Field Remove Button Styling */
.remove-unit-field {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.remove-unit-field:hover {
    background-color: #dc3545 !important;
    color: white !important;
}

.remove-unit-field:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.dynamic-unit-field {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label-1-rem{
    font-size: .8rem !important;
}