﻿

/* Font import */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Playfair+Display:ital,wght@1,600&display=swap');


/* Reset font & base */
html, body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #faf7f3;
    margin: 0;
    padding: 0;
}

/* Sticky Navbar */
.navbar-topnav {
    background: linear-gradient(90deg, #ffb347, #ffd5b5);
    border-bottom: 2px solid #e4a05a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

/* Logo wrapper (with background) */
.logo-bg {
    background: rgba(255, 255, 255, 0.6);
    padding: 0.6rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(90, 62, 27, 0.2);
    margin-right: 1.5rem; /* 👈 adds spacing between logo and text */
}

/* Enlarged Logo Image */
.navbar-brand-logo {
    height: 5.5rem; /* 👈 increased size */
    max-height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Brand text remains the same (optional size tweak) */
.brand-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.9rem;
    line-height: 1.2;
    color: #5a3e1b;
}

    .brand-text .line1 {
        font-size: 1.6rem;
        font-weight: 600;
    }

    .brand-text .line2 {
        font-size: 1.4rem;
        opacity: 0.9;
    }

/* Icon Buttons */
.fancy-icon-btn,
.fancy-icon-link {
    background: linear-gradient(135deg, #ff8c42, #e87d3e);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(232, 125, 62, 0.25);
}

.fancy-icon-btn:hover,
.fancy-icon-link:hover {
    background: #fff;
    color: #5a3e1b;
    border: 2px solid #e87d3e;
    transform: translateY(-2px);
}

/* Optional: hide default button focus ring */
.fancy-icon-btn:focus,
.fancy-icon-link:focus {
    outline: none;
    box-shadow: none;
}



/* ===== Side Navigation Wrapper ===== */
#layoutSidenav {
    display: flex;
}

    #layoutSidenav #layoutSidenav_nav {
        flex-basis: 15rem;
        flex-shrink: 0;
        transition: transform 0.25s ease-in-out;
        z-index: 1038;
        transform: translateX(-15rem);
        background-color: #fff7ef;
        box-shadow: 4px 0 12px rgba(90, 62, 27, 0.1);
        border-right: 2px solid #ffb347;
    }

    #layoutSidenav #layoutSidenav_content {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0;
        flex-grow: 1;
        min-height: calc(100vh - 56px);
        margin-left: -15rem;
        background-color: #faf7f3;
    }

/* When toggled open */
.sb-sidenav-toggled #layoutSidenav #layoutSidenav_nav {
    transform: translateX(0);
}

.sb-sidenav-toggled #layoutSidenav #layoutSidenav_content:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1037;
    opacity: 0.4;
    transition: opacity 0.3s ease-in-out;
}

/* ===== Sidebar Structure ===== */
.navbar-sidenav {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    background-color: #fff7ef;
    flex-wrap: nowrap;
}

.navbar-sidenav-menu {
    flex-grow: 1;
}

.navbar-sidenav-menu-frame {
    padding: 1rem;
    flex-direction: column;
    flex-wrap: nowrap;
    max-height: 75vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2b07e transparent;
}

    /* Custom Scrollbar (optional for WebKit) */
    .navbar-sidenav-menu-frame::-webkit-scrollbar {
        width: 8px;
    }

    .navbar-sidenav-menu-frame::-webkit-scrollbar-thumb {
        background-color: #e2b07e;
        border-radius: 6px;
    }

    .navbar-sidenav-menu-frame::-webkit-scrollbar-track {
        background: transparent;
    }

/* ===== Section Titles ===== */
.navbar-sidenav-menu-Title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cc6600;
    text-transform: uppercase;
    padding: 0.6rem 0 0.5rem 0;
    border-bottom: 1px solid #ffd9b0;
}

/* ===== Menu Items ===== */
.navbar-sidenav-menu-Item {
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

    .navbar-sidenav-menu-Item:hover {
        background-color: rgba(255, 179, 71, 0.2);
        transform: scale(1.04);
    }

    .navbar-sidenav-menu-Item:active {
        transform: scale(0.95);
    }

.navbar-sidenav-menu-Item-Active {
    background-color: rgba(255, 179, 71, 0.35);
    font-weight: bold;
}

/* ===== Menu Links ===== */
.navbar-sidenav-menu-Item-link {
    text-decoration: none;
    color: #5a3e1b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

    .navbar-sidenav-menu-Item-link:hover {
        color: #a66428;
    }

.navbar-sidenav-menu-Item-link-icon {
    color: #e87d3e;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* ===== Footer Info ===== */
.navbar-footer {
    padding: 1rem;
    color: #b07d4f;
    font-size: 0.9rem;
    border-top: 1px solid #ffe1c4;
    background-color: #fff3e0;
}


/* ===== Loader ===== */

.bgLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 37, 41, 0.81);
    z-index: 9999;
}

.loader {
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) { /* Adjust the max-width as per your mobile breakpoint */
    .loader {
        width: 120px;
        height: 120px;
        -webkit-animation: spin 2s linear infinite;
        animation: spin 2s linear infinite;
        position: fixed;
        top: 30%;
        left: 15%;
        transform: translate(-50%, -50%);
    }
}

.loader-icon {
    background: transparent;
    text-align: center;
    color: #ffc107;
    font-size: 7rem;
    padding-left: 0rem;
    padding-top: 2rem;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

/* ===== Card Layout & Header ===== */
.card {
    border: none;
    background: transparent;
}

.header-Title {
    font-size: 1.6rem;
    font-weight: bold;
    background: #ffb347;
    color: #5a3e1b;
    padding: 1rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-align: center;
    border-bottom: 2px solid #fef5e7;
}

/* ===== Card Body Background ===== */
.card-body {
    background-color: #fff8f0;
    padding: 2rem;
}

/* ===== Centered Form Wrapper ===== */
.centered-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 1rem;
}

/* ===== Centered Form Styling ===== */
.centered-form {
    width: 100%;
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
    background: rgba(255, 248, 240, 0.95);
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    scrollbar-width: thin;
    scrollbar-color: #e87d3e #fef5e7;
}

    /* Scrollbar for Chrome/Safari */
    .centered-form::-webkit-scrollbar {
        width: 8px;
    }

    .centered-form::-webkit-scrollbar-thumb {
        background-color: #e87d3e;
        border-radius: 10px;
    }

    .centered-form::-webkit-scrollbar-track {
        background: #fef5e7;
    }

/* ===== Form Inputs ===== */
.form-label {
    font-weight: bold;
    color: #5a3e1b;
}

.form-control,
.form-select {
    background-color: #fef5e7;
    border: 1px solid #d6a772;
    color: #5a3e1b;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

    .form-control::placeholder,
    .form-select::placeholder {
        color: #b58b5b;
        opacity: 0.85;
    }

textarea.form-control {
    resize: vertical;
}

.form-select:disabled {
    background-color: #f8f9fa;
}
.form-control:disabled {
    background-color: #f8f9fa;
    opacity: 1;
}

/* ===== Submit Button ===== */
.submit-btn {
    background: linear-gradient(to right, #ff8c42, #e87d3e);
    border: none;
    border-radius: 0.75rem;
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    transition: transform 0.25s, box-shadow 0.25s;
}

    .submit-btn:hover,
    .submit-btn:focus-visible {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
        background: #ffffff;
        color: #5a3e1b;
        border: 2px solid #e87d3e;
    }

/* ===== Custom Checkbox Styling ===== */
.custom-checkbox {
    display: flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    user-select: none;
    color: #5a3e1b;
}

    .custom-checkbox input[type="checkbox"] {
        display: none;
    }

    .custom-checkbox .checkmark {
        width: 20px;
        height: 20px;
        border: 2px solid #e87d3e;
        border-radius: 4px;
        margin-left: 10px;
        background-color: #ffffff;
        transition: background-color 0.3s, border-color 0.3s;
    }

    .custom-checkbox input[type="checkbox"]:checked + .checkmark {
        background-color: #e87d3e;
        border-color: #e87d3e;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.285 6.285l-11 11c-.39.39-1.023.39-1.414 0l-5-5c-.39-.39-.39-1.023 0-1.414s1.023-.39 1.414 0L9 14.172l10.285-10.285c.39-.39 1.023-.39 1.414 0s.39 1.023 0 1.414z"/></svg>');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 14px;
    }

    .custom-checkbox:hover .checkmark {
        border-color: #ff8c42;
    }

/* ===== Invalid Feedback ===== */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
}

/* ===== Submit Button (Styled) ===== */
.submit-btn {
    background: linear-gradient(to right, #ff8c42, #e87d3e);
    border: none;
    border-radius: 0.75rem;
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    transition: transform 0.25s, box-shadow 0.25s;
}

    .submit-btn:hover,
    .submit-btn:focus-visible {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
        background: #ffffff;
        color: #5a3e1b;
        border: 2px solid #e87d3e;
    }

/* ===== language Button (Styled) ===== */
.dropdown-toggle {
    font-weight: bold;
    color: #fff;
    background-color: #674e3b;
    border: 2px solid #f4bc93;
    border-radius: 1rem;
    padding: 0.3rem 1rem;
    height: 2.4rem;
}

.dropdown-menu {
    font-size: 0.95rem;
}


.dt-left {
    text-align: left !important;
}

.dt-center {
    text-align: center !important;
}

.password-toggle-btn {
    position: absolute;
    top: 68%;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    z-index: 10;
    color: #007bff;
    padding: 0;
    cursor: pointer;
    font-size: 1rem;
}

    .password-toggle-btn:hover {
        color: #0056b3;
    }




/* Modal header styling */
#listingInstructionsModal .modal-header {
    background-color: #7f5923;
    border-bottom: 1px solid #dee2e6;
}

/* Modal title */
#listingInstructionsModal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

#listingInstructionsModal .modal-body {
    overflow-y: auto;
    background-color: #503817;
}


/* Ordered list styling */
#listingInstructionsModal ol {
    list-style-position: inside;
    padding-left: 0;
    margin: 0;
}

    /* Instruction steps */
    #listingInstructionsModal ol li {
        margin-bottom: 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #495057;
        background: #f8f9fa;
        border-left: 3px solid #e87d3e;
        padding: 0.5rem 0.75rem;
        border-radius: 0.25rem;
    }

        /* Highlight important elements */
        #listingInstructionsModal ol li strong {
            color: #0d6efd;
        }

/* Footer button */
#listingInstructionsModal .modal-footer {
    background-color: #7f5923;
    border-top: 1px solid #dee2e6;
}

/* Close button styling */
#listingInstructionsModal .btn-secondary {
    padding: 0.4rem 1.25rem;
    font-weight: 500;
}


.navbar-sidenav-menu-Item.disabled {
    opacity: 0.6;
    pointer-events: none;
}

