/* Stepper Styles */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    /* width: 80%; */
    /* Default for large screens */
    max-width: 900px;
    margin: 0 auto 2rem auto !important;
}

.hero-section {
    min-height: 350px;
    background-image: linear-gradient(#124b69, #124b69);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background-image: url(../bg-header.png);
    background-size: cover;
    background-position: center;
}

@media (max-width: 992px) {
    .stepper-wrapper {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .stepper-wrapper {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 20px;
    }

    .stepper-item {
        flex-shrink: 0;
    }

    /* Hide the line on mobile if it looks broken with scrolling */
    .stepper-wrapper::before {
        display: none;
    }
}

.stepper-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #123764;
    z-index: -1;
    transform: translateY(-50%);
}

.stepper-item {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    background: #fff;
    z-index: 1;
    padding: 0 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    gap: 12px;
}


.stepper-item.active .step-counter {
    background-color: #123764;
    /* Active Blue Background */
    border-color: #123764;
    color: #fff;
    /* White text for contrast */
}

.stepper-item.completed .step-counter {
    background-color: #123764;
    border-color: #123764;
    color: #fff;
}

.stepper-item .step-counter {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #e5ecff;
    border: 2px solid #123764;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #494e52;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stepper-item.active .step-name {
    color: #123764;
    font-weight: 700;
}

.stepper-item .step-name {
    font-size: 0.89rem;
    color: #6c757d;
    font-weight: 500;
}


/* Dashed Divider */
.dashed-divider {
    border-top: 1px dashed #123764;
    opacity: 0.3;
}

.dashed-line {
    border-top: 2px dashed #ccc;
    opacity: 0.5;
}

/* Animations */
.step-content {
    animation: fadeIn 0.5s ease;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quantity Selector & Round Buttons */
.btn-circle-dark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #123764;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-circle-dark:hover {
    background-color: #0a1b2f;
    color: #fff;
}

.btn-circle-dark:disabled {
    background-color: #123764;
    /* Keep same color */
    opacity: 0.6;
    /* Slight opacity to indicate state, but keep color */
    cursor: not-allowed;
}

.quantity-selector button,
.square-btn {
    width: 35px;
    height: 35px;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

/* Specific classes override general ones */
.square-btn {
    border-radius: 6px;
}

/* Payment Options */
.payment-option-card {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
        cursor: pointer;
}

.payment-option-card:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.payment-option-card.selected {
    border-color: #123764;
}

/* Custom Text Utils */
.text-dark-blue {
    color: #123764 !important;
}

.btn-dark-blue {
    background-color: #123764;
    border-color: #123764;
}

.btn-dark-blue:hover {
    background-color: #0a1b2f;
    border-color: #0a1b2f;
}

.btn-outline-dark-blue {
    color: #123764;
    border-color: #123764;
    background-color: transparent;
}

.btn-outline-dark-blue:hover {
    background-color: #123764;
    color: #fff !important;
}

/* Share Icons */
.share-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #6c757d;
    border-radius: 4px;
    color: #123764;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-icon:hover {
    background-color: #123764;
    color: #fff;
    border-color: #123764;
}

/* Alert Box Custom */
.alert-box-custom {
    background-color: #f3f3f3 !important;
    /* Light grey */
    color: #333;
    border-radius: 0px !important;
}

/* Custom Form Inputs */
.custom-input {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background-color: #fff;
    /* Keep white */
}

.custom-input::placeholder {
    color: #adb5bd;
    opacity: 1;
}

.custom-input:focus {
    border-color: #123764;
    box-shadow: 0 0 0 0.25rem rgba(13, 35, 62, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Light Grey Background for Headers */
.bg-light-grey {
    background-color: #f5f6f7;
}