.login_register_form {
    /* background: white; */
    /* border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; */
    padding: 40px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.form_headline_box h3,
.form_headline_box h3.footer-title {
    font-size: 2rem !important;
    font-weight: 600 !important;
    font-family: "Hanken Grotesk", sans-serif !important;
    margin-bottom: 1.5rem;
    letter-spacing: normal !important;
}

.form_headline_box h3.footer-title::after {
    height: 3px;
    background: var(--primary-yellow);
    width: 60px;
}

.login_register_form_inputfields {
    font-size: 16px;
    padding: 12px 16px;
    height: 56px;
}

.form-floating label {
    font-size: 16px;
}

.password_showhide_icon {
    right: 0;
    top: 0;
    color: #555;
    cursor: pointer;
    background: var(--primary-yellow);
    height: 100%;
    padding: 1em;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.formsubmit_btn {
    background: var(--primary-yellow);
    color: black;
    border: 1px solid transparent;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 300ms ease;
}

.formsubmit_btn:hover {
    background: black;
    color: var(--primary-yellow);
}

.form_sidepic_image {
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.login_registerform_container {
    max-width: 1200px;
    width: 95%;
    min-height: 500px;
    margin: 2em auto;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
}

.login_register_page_anchor,
.existing_user_p_tag {
    color: #555;
    transition: all 300ms ease;
}

.login_register_page_anchor:hover {
    color: var(--primary-yellow);
}

.form_sidepic_imagebox {
    clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
    background: var(--primary-yellow);
    position: relative;
}

.photo_overlay {
    top: 0;
    left: 0;
    background: var(--primary-yellow);
    transition: all ease-in-out 0.5s;
    opacity: 0.5;
}

.sidebar_navigation_li {
    /* border-bottom: 1px solid #ddd; */
    padding: 0.5em;
    border-radius: 5px;
}

.sidebar_navigation_li.current_sidebar_navigation_li {
    background: var(--primary-yellow);
}

.sidebar_navigation_anchor,
.sidebar_navigation_li>i {
    color: #555;
}

.customer_profile_imagebox {
    height: 5em;
    width: fit-content;
    border: 1px solid var(--primary-yellow);
    border-radius: 50%;
    padding: 2px;
}

.customer_profile_image {
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.product_success_status_btn {
    background: lightgreen;
    color: green;
}

.product_delivery_status_btn {
    padding: 5px 8px;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 0.9em;
}

.product_pending_status_btn {
    background: #fef3c7;
    color: #f8a80b;
}

.product_unsuccessful_status_btn {
    background: #ffe8e8;
    color: crimson;
}

.product_action_iconbox>i {
    background: white;
    color: black;
    border: 1px solid var(--primary-yellow);
    padding: 0.5em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 300ms ease;
}

.product_action_menu_box {
    background: white;
    left: 0%;
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.product_action_menu_box.showhide_menubox {
    opacity: 1;
    visibility: visible;
}

.product_action_btn {
    background: white;
    border: 1px solid transparent;
    border-bottom: 1px solid #ddd;
    padding: 3px 5px;
    transition: all 300ms ease;
}

.product_action_btn:hover {
    background: var(--primary-yellow);
    color: black;
}

.account_overview_information_box,
.order_placed_details_container,
.dashboard_main_container {
    background: var(--white_color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1em;
    border-radius: 5px;
}

.cart_product_items_table_container>table tr th,
.cart_product_items_table_container>table tr th a,
.cart_product_items_table_container>table tr td a {
    color: var(--dark-grey);
    white-space: nowrap;
}

.save_address_btn {
    background: var(--primary-yellow);
    color: black;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.cancel_btn {
    background: white;
    color: black;
    padding: 5px 8px;
    border: 1px solid var(--primary-yellow);
    border-radius: 5px;
}

.add_new_address_btn {
    background: white;
    border: 1px solid transparent;
    padding: 5px 8px;
}

.billing_shipping_address_btn {
    top: 0;
    right: 0;
    font-size: 0.7em;
    padding: 4px 8px;
    border: 1px solid transparent;
    background: var(--primary-yellow);
    color: black;
}

.billing_shipping_address_box {
    border: 1px solid #ddd;
    padding: 1.5em 1em;
    /* min-height: 8.5em; */
}

.billing_shipping_address_titlebox>small,
.billing_shipping_address_details_titlebox>p,
.billing_shipping_address_details_box>.iconbox>i,
.billing_shipping_address_details_contact_details_item_box>.iconbox>i {
    font-size: 0.8em;
    color: var(--dark-grey);
}

.create_new_address_details_checkoutform_plus_box {
    border: 2px dashed #ddd;
    padding: 1em;
    min-height: 8.5em;
}

.create_new_address_details_checkoutform_plus_box>.iconbox>i {
    font-size: 2em;
    border: 1px solid var(--primary-yellow);
    padding: 5px 8px;
    border-radius: 50px;
    color: var(--primary-yellow);
    cursor: pointer;
}

.no_data_found_image {
    object-fit: contain;
    object-position: center;
}

.no_data_found_imagebox {
    height: 10em;
    width: 100%;
}

.account_overview_information_box>.iconbox>i {
    background: #ffc801;
    padding: 1em;
    color: white;
    border-radius: 5px;
    font-size: 1em;
}

.account_overview_headline_box>p {
    color: var(--dark-grey);
}

.notfound {
    line-height: 1.4;
    text-align: center;
}

.notfound .notfound-404 h1 {
    font-size: 20em;
    font-weight: 900;
    color: var(--primary-yellow);
    letter-spacing: -18px;
}

.notfound .notfound-404 h1>span {
    text-shadow: -8px 0px 0px white;
}

.notfound .notfound-404 h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--light_blue);
    margin: 0px;
    letter-spacing: 3px;
    padding-left: 6px;
}

.searchbar_icon {
    top: 0;
    right: 0;
    background: var(--primary-yellow);
    color: black;
    padding: 1em;
    border-radius: 5px;
    cursor: pointer;
}

.notfound_anchor {
    background: var(--primary-yellow);
    color: black;
    padding: 8px 13px;
    border-radius: 5px;
    margin: 0.5em 0;
    display: inline-block;
    transition: all 300ms ease;
}

.notfound_anchor:hover {
    background: black;
    color: var(--primary-yellow);
}

.matching_products_categories_title {
    color: var(--dark-grey);
    font-size: 1em;
}

.matching_products_categories_title::before,
.matching_products_categories_title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: var(--primary-yellow);
}

.matching_products_categories_title::before {
    left: 0;
}

.matching_products_categories_title::after {
    right: 0;
}

.matching_products_headline_box {
    background: white;
    padding: 1em;
}

.order_placed_details_box>.iconbox>i {
    font-size: 1.5em;
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    border-radius: 50%;
    padding: 0.5em;
}

.order_placed_confirmation_pdf_details_container {
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.header_searchbar_icon {
    right: 0;
    top: 0;
    color: #555;
    cursor: pointer;
    background: var(--primary-yellow);
    height: 100%;
    padding: 1em;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.header_searchbar_inputfield {
    border-radius: 50px;
    height: 3em !important;
    min-height: unset !important;
    line-height: 0 !important;
    padding-right: 1.2rem !important;
    padding-left: 1.2rem !important;
}

.header_searchbar_label {
    top: -0.2em !important;
}

/* Responsive Login/Register Form */
@media (max-width: 991px) {
    .login_registerform_container.d-flex {
        max-width: 90vw !important;
        flex-direction: column !important;
        margin: 1em auto !important;
        display: flex !important;
    }

    .login_registerform_container .form_sidepic_imagebox {
        clip-path: none !important;
        height: 200px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        border-top-left-radius: 5px !important;
        border-top-right-radius: 5px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .login_registerform_container .form_sidepic_image {
        border-top-left-radius: 5px !important;
        border-top-right-radius: 5px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .login_registerform_container .login_register_form {
        padding: 30px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .login_registerform_container .photo_overlay {
        display: block !important;
    }

    .form_headline_box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .login_registerform_container.d-flex {
        max-width: 95vw !important;
        margin: 0.5em auto !important;
        flex-direction: column !important;
        display: flex !important;
    }

    .login_registerform_container .form_sidepic_imagebox {
        height: 150px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .login_registerform_container .login_register_form {
        padding: 25px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .form_headline_box h3 {
        font-size: 1.3rem;
    }

    .formsubmit_btn {
        padding: 12px 15px;
        font-size: 15px;
        width: 100%;
    }

    .password_showhide_icon {
        padding: 0.8em;
    }

    .login_register_form_inputfields_div {
        width: 100%;
    }

    .login_register_form_inputfields {
        width: 100%;
        font-size: 15px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .login_registerform_container.d-flex {
        max-width: 100vw !important;
        width: 100vw !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        flex-direction: column !important;
        display: flex !important;
    }

    .login_registerform_container .form_sidepic_imagebox.w-100 {
        height: 120px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        border-radius: 0 !important;
    }

    .login_registerform_container .form_sidepic_image {
        border-radius: 0 !important;
    }

    .login_registerform_container .login_register_form.w-100 {
        padding: 25px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .form_headline_box h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .login_register_form_inputfields_div {
        width: 100%;
        margin-bottom: 15px;
    }

    .login_register_form_inputfields {
        font-size: 16px;
        width: 100%;
        padding: 15px;
        height: 55px;
    }

    .form-floating label {
        font-size: 15px;
        padding: 15px;
    }

    .formsubmit_btn {
        padding: 15px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        margin-top: 10px;
    }

    .password_showhide_icon {
        padding: 0.9em;
        font-size: 16px;
    }

    /* Mobile-specific link adjustments */
    .login_register_form .d-flex.align-items-center {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
        margin-top: 15px;
    }

    .login_register_page_anchor {
        font-size: 14px;
        width: 100%;
        text-align: center;
        padding: 8px;
        display: block;
    }

    .alert {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

/* Additional responsive improvements for forms */
@media (max-width: 576px) {
    .login_registerform_section {
        padding: 0;
    }

    .form-floating label {
        font-size: 14px;
    }

    .alert {
        font-size: 13px;
        padding: 10px;
        margin-bottom: 15px;
    }
}

/* Login page specific adjustments */
.login_registerform_section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding-top: 120px; /* Space for fixed header */
}

@media (max-width: 480px) {
    .login_registerform_section {
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 20px;
    }
}