:root {
    --brand-primary: #2c3e50;
    --brand-dark: #d35400;
    --vendor-accent: #059669; /* Green for Vendors/Money */
    --bg-light: #f8f9fa;
    --sidebar-width: 260px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #334155;
    overflow-x: hidden; /* Prevent horizontal scroll on body */
}
.btn-primary { background-color: var(--brand-dark); border-color: var(--brand-dark);
    padding: 10px; font-weight: 600;}

.btn-primary:hover { background-color: #ba4a00; border-color: #ba4a00; }

/* --- GLOBAL UTILITIES --- */
.d-none-page { display: none !important; }
.fw-bold { font-weight: 700 !important; }
.text-brand { color: var(--brand-primary); }

/* --- VENDOR LOGIN STYLES --- */
.vendor-login-wrapper {
    background: linear-gradient(135deg, #90351c1f 0%, #cf9882 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vendor-login-box {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 2rem; /* Less padding on mobile */
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
@media (min-width: 576px) {
    .vendor-login-box { padding: 2.5rem; }
}

/* --- VENDOR DASHBOARD STYLES --- */
.vendor-layout { display: flex; min-height: 100vh; flex-direction: column; }

/* Desktop Sidebar */
.vendor-sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    position: fixed; height: 100vh; overflow-y: auto;
    z-index: 1000; /* Above content */
}

/* Main Content Area */
.vendor-content {
    flex: 1; 
    padding: 1.5rem; /* Reduced padding for mobile */
    width: 100%;
    transition: margin 0.3s;
}

/* Desktop specific spacing */
@media (min-width: 992px) {
    .vendor-layout { flex-direction: row; }
    .vendor-content { margin-left: var(--sidebar-width); padding: 2rem; }
}

.vendor-nav-link {
    display: flex; align-items: center; gap: 10px;
    color: #64748b; font-weight: 600; text-decoration: none;
    padding: 0.8rem 1rem; border-radius: 8px; margin-bottom: 0.5rem;
    transition: all 0.2s;
}
.vendor-nav-link:hover, .vendor-nav-link.active {
    background-color: rgba(211, 84, 0, 0.1); color: var(--brand-dark);
}

/* Form Styling */
.form-section-card {
    background: white; border-radius: 12px; border: 1px solid #e2e8f0;
    padding: 1.5rem; /* Less padding mobile */
    margin-bottom: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
@media (min-width: 768px) {
    .form-section-card { padding: 2rem; }
}

.section-title {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem;
    color: var(--brand-dark); padding-bottom: 0.5rem; border-bottom: 2px solid #f1f5f9;
}

/* Amenity Checkboxes */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Smaller min for mobile */
    gap: 0.8rem;
}
.amenity-checkbox input { display: none; }
.amenity-checkbox label {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem; font-weight: 500;
    text-align: center;
}
.amenity-checkbox input:checked + label {
    background-color: var(--vendor-accent);
    color: white;
    border-color: var(--vendor-accent);
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}
.image-upload-area:hover { border-color: var(--vendor-accent); background-color: #f0fdf4; }
.preview-container {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; margin-top: 1rem;
}
.preview-img {
    width: 100%; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0;
}

/* Responsive Table Wrapper */
.table-responsive-custom {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
}



/*----------------New Css Add--------------------------------------*/


.stepper-progress .progress{
    height:4px;
    border-radius:50px;
    background:#e2e8f0;
}

.stepper-progress .progress-bar{
    width:12.5%;
    border-radius:50px;
    transition:all .4s ease;
    background:linear-gradient(
        90deg,
        #059669,
        #10b981
    );
}

.stepper-nav{
    display:flex;
    justify-content:space-between;
    margin:0;
    padding:0;
}

.stepper-item{
    flex:1;
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.stepper-line{
    position:absolute;
    top:20px;
    left:calc(50% + 20px);
    right:calc(-50% + 20px);
    height:2px;
    background:#e2e8f0;
    z-index:0;
}

.stepper-circle{
    width:40px;
    height:40px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid #e2e8f0;
    background:#fff;
    color:#94a3b8;
    position:relative;
    z-index:1;
    transition:all .3s ease;
}

.stepper-label{
    margin-top:10px;
    font-size:11px;
    font-weight:600;
    color:#94a3b8;
    text-align:center;
    line-height:1.2;
    transition:all .3s ease;
}

.stepper-item.active .stepper-circle{
    background:var(--brand-dark);
    border-color:var(--brand-dark);
    color:#fff;
}

.stepper-item.active .stepper-label{
    color:var(--brand-dark);
}

.stepper-item.completed .stepper-circle{
    background:var(--brand-dark);
    border-color:var(--brand-dark);
    color:#fff;
}

.stepper-item.completed .stepper-line{
     background:var(--brand-dark);
}

@media(max-width:768px){

    .stepper-label{
        display:none;
    }

}

.amenity-card{
    border:1px solid #e2e8f0;
    border-radius:12px;
    padding:14px 16px;
    background:#fff;
    transition:all .3s ease;
    height:100%;
}

.amenity-card:hover{
    border-color:#06b6d4;
    background:#f0fdff;
}

.amenity-card .form-check-input{
    margin-top:2px;
}

.amenity-card .form-check-label{
    cursor:pointer;
    width:100%;
    font-weight:500;
    color:#0f172a;
}

.amenity-card i{
    font-size:18px;
    color:#0891b2;
}