/* DESIGNER LOGIN */


/* ========================================
   DESIGNER STATUS CHECK PAGE
   ======================================== */

.designer-status-page {
    min-height: 100vh;
    background: whitesmoke;
    padding: 40px 20px;
    font-family: "Cabin", sans-serif;
}

.status-container {
    max-width: 600px;
    margin: 0 auto;
}

.text_link{
    font-size:1rem;
    font-weight:500;
}


/* Header */
.status-header {
    text-align: center;
    color: #000;
    margin-bottom: 40px;
}

.status-header h1 {
    font-family: "Cabin", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.status-header p {
    font-family: "Sarala", sans-serif;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Status Card */
.status-card {
    background: #fff;
    border-radius: 4px;
    padding: 50px 40px;
}

.status-search-form {
    margin-bottom: 40px;
}

.status-form-group {
    margin-bottom: 20px;
}

.status-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.status-form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 15px;
    font-family: "Cabin", sans-serif;
    transition: all 0.3s ease;
}

.status-form-input:focus {
    outline: none;
    border-color: #000;
}

.btn-check-status {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000;
    color: #fff;
    font-family: "Cabin", sans-serif;
}

.btn-check-status:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn-check-status:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Status Result */
.status-result-container {
    display: none;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-pending {
    background: #fff8e1;
    border: 2px solid #000;
}

.status-approved {
    background: #e8f5e9;
    border: 2px solid var(--accent-mint);
}

.status-rejected {
    background: #ffebee;
    border: 2px solid #d63031;
}

.status-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.status-title {
    font-family: "Cabin", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.status-message {
    font-family: "Sarala", sans-serif;
    text-align: center;
    color: #636e72;
    line-height: 1.6;
}

.rejection-reason {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.status-login-link {
    text-align: center;
    margin-top: 20px;
}

.status-login-link a {
    color: var(--accent-peach);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-login-link a:hover {
    color: var(--accent-pink);
}

/* Responsive */
@media (max-width: 767px) {
    .designer-status-page {
        padding: 20px 10px;
    }
    
    .status-header h1 {
        font-size: 1.75rem;
    }
    
    .status-card {
        padding: 30px 20px;
    }
}

@media (max-width: 420px) {
    .status-card {
        padding: 20px 15px;
    }
    
    .status-header h1 {
        font-size: 1.5rem;
    }
}

/* ONBOARDING INDEX PAGE */

.onboarding-wrap {
    background: whitesmoke;
    min-height: 80vh;
    padding: 40px 0;
}
.onboarding-wrap .container{
    max-width: 780px;
}
.step-card {
    border: none;
    border-radius: 4px;
    transition: box-shadow 0.2s;
}
.step-card .badge{
    background-color: #000;
    color: #fff;
    padding: 8px 18px;
    font-size: 0.8rem;
}
.step-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    border: 2px solid #e9ecef;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}
.step-item:hover { border-color: #000; text-decoration: none; color: inherit; }
.step-item.completed { border-color: #28a745; background: #f0fff4; }
.step-item.active    { border-color: #000; background: whitesmoke; }
.step-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-right: 18px;
    flex-shrink: 0;
}
.step-icon.done    { background: #d4edda; color: #28a745; }
.step-icon.current { background: #000; color: #fff; }
.step-icon.locked  { background: #f1f3f5; color: #adb5bd; }
.progress-bar-alt {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 24px;
}
.progress-bar-alt-fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a96e, #e8c98a);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.brand-badge {
    background: #000;
    color: #fff;
    padding: 10px 19px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ONBOARDING BUSINESS PAGE */
.business_wrapper{
    background:whitesmoke; min-height:70vh;
}
.onboard-header { background: #000; color: #fff; padding: 28px 0; }
.onboard-header .step-badge { 
    background: #eb2627; 
    color: #fff; 
    padding: 6px 15px; 
    border-radius: 4px; 
    font-size: 0.78rem; 
    font-weight: 700; 
    letter-spacing: 0.5px; 
}
.sp-dot.active { 
    background: #eb2627; 
}
div.section-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #000; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #f0e8d8; }

.form-card { border: none; border-radius: 4px; }
.business_wrapper .container, .onboard-header .container{
    max-width: 780px;
}

.back-btn{
    background-color: #000;
    color: #fff;
    border-radius: 4px;
    padding: 7px 11px;
}
.back-btn:hover{
    background: #eb2627; 
    color: #fff;
    border-radius: 4px;
    padding: 7px 11px;
}
.btn-save{
    background-color: #000;
    color: #fff;
    border-radius: 4px;
    padding: 7px 11px;
}
.btn-save:hover{
    background-color: #eb2627;
    color: #fff;
    border-radius: 4px;
    padding: 7px 11px;
}

.step-progress { display: flex; gap: 6px; }
.sp-dot { height: 6px; flex: 1; border-radius: 3px; background: #e9ecef; }
.sp-dot.done { background: #28a745; }
.form-control:focus, .form-select:focus { border-color: #000; box-shadow: none; }
.form-label { font-weight: 600; font-size: 0.88rem; color: #444; }
.form-control, .form-select { border-radius: 4px; border: 1.5px solid #e0e0e0; padding: 10px 14px; transition: border-color 0.2s; }

.security-note { background: #f0fff4; border: 1px solid #c3e6cb; border-radius: 4px; padding: 14px 18px; }


/* ONBOARDING AGREEMENT PAGE */
.agreement-box { max-height: 380px; overflow-y: scroll; padding: 20px 24px; background: #fafafa; border: 1.5px solid #e0e0e0; border-radius: 4px; font-size: 0.88rem; line-height: 1.8; color: #444; }
.agreement-box h6 { color: #1a1a2e; font-weight: 700; margin-top: 20px; }

.term-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.88rem; }
.term-icon { color: #000; flex-shrink: 0; margin-top: 2px; }


/* DESGINER DASHBOARD PAGE */
.dash-wrap {
    background: whitesmoke;
    min-height: 100vh;
}

/* ---- Sidebar ---- */
.dash-sidebar {
    width: 240px;
    background: #000;
    min-height: 100vh;
    position: fixed;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}
.sidebar-brand {
    padding: 24px 20px 16px;
}

.sidebar-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #eb2627;
    letter-spacing: 1px;
}
.sidebar-brand .logo-sub {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.sidebar-nav {
    padding: 16px 0;
    flex: 1;
}

.nav-section-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.3);
    padding: 12px 20px 4px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
}
.sidebar-link.active {
    color: #fff;
    border-left-color: #eb2627;
    background: #eb2627;
}
.sidebar-link i { font-size: 1rem; width: 18px; }
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.sidebar-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eb2627;
}

.sidebar-avatar-placeholder {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(201,169,110,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #eb2627;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---- Main Content ---- */
.dash-main {
    margin-left: 240px;
    padding: 0;
    min-height: 100vh;
}
.dash-topbar {
    background: #fff;
    padding: 14px 28px;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}
.dash-topbar .page-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}
.dash-body {
    padding: 28px;
}

/* ---- Onboarding Banner ---- */
.onboarding-banner {
    background: #eb2627;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 28px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.ob-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    padding: 4px 10px;
    border-radius: 20px;
}
.ob-step.done { color: #28a745; background: rgba(40,167,69,0.12); }
.ob-step.active { color: var(--gold); background: rgba(201,169,110,0.15); }

/* ---- Stat Cards ---- */
.stat-card {
    background: #fff;
    border-radius: 4px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}
.stat-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.stat-icon.gold   { background: #fdf3e3; color: var(--gold); }
.stat-icon.blue   { background: #e8f0fe; color: #1a73e8; }
.stat-icon.green  { background: #e6f4ea; color: #137333; }
.stat-icon.purple { background: #f3e8fd; color: #7b2d8b; }
.stat-icon.red    { background: #fce8e6; color: #c5221f; }
.stat-val  { font-size: 1.7rem; font-weight: 800; color: #000; line-height: 1; }
.stat-lbl  { font-size: 0.78rem; color: #888; margin-top: 3px; }
.stat-sub  { font-size: 0.72rem; color: #aaa; margin-top: 2px; }

/* ---- Section Cards ---- */
.section-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.section-card .card-head {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-card .card-head h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}
.section-card .card-body-pad { padding: 20px; }

/* ---- Quick Action Buttons ---- */
.qa-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    background: #fff;
    border: 2px solid #ebebeb;
    border-radius: 4px;
    color: #000;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.18s;
    text-align: center;
    height: 100%;
}
.qa-btn:hover {
    border-color: var(--gold);
    color: #000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201,169,110,0.2);
}
.qa-btn i { font-size: 1.6rem; color: var(--gold); }

/* ---- Product Status Badges ---- */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}
.status-badge.approved    { background: #d4edda; color: #155724; }
.status-badge.draft       { background: #e2e3e5; color: #383d41; }
.status-badge.under_review{ background: #fff3cd; color: #856404; }
.status-badge.rejected    { background: #f8d7da; color: #721c24; }

/* ---- Welcome Banner ---- */
.welcome-bar {
    background: #000;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.welcome-bar .brand-tag {
    background: whitesmoke;
    color: #000;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Mobile Hamburger ---- */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 14px; left: 14px;
    z-index: 200;
    background: #000;
    color: var(--gold);
    border: none;
    border-radius: 8px;
    width: 40px; height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
}

.date_designer{
    font-size:0.8rem; 
    color:#000;
}
.product-add-btn{
    background:#000; 
    color:#fff; 
    font-weight:600; 
    border-radius:4px;
}
.product-add-btn:hover{
    background-color: #eb2627;
    color: #fff;
}

.photo_file_designer_dashboard{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid rgba(26,26,46,0.2);
}

.photo_div_dashboard{
    width:60px;
    height:60px;
    border-radius:50%;
    background:rgba(26,26,46,0.15);
    display:flex;
    align-items:center;
    justify-content:center;
}
.account_info_div{
    background:#f8f8f8;
}

.stat-box { border-radius: 4px; padding: 18px 20px; }
.badge-pending  { background: #e9ecef; color: #495057; }
.badge-review   { background: #fff3cd; color: #856404; }
.badge-live     { background: #d1e7dd; color: #0a3622; }
.badge-rejected { background: #f8d7da; color: #58151c; }
.filter-tab { border: none; background: #000; padding: 8px 18px; border-radius: 4px; font-size: 0.88rem; font-weight: 600; color: #fff; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.filter-tab.active { background: #eb2627; color: #fff; }
.btn-gold-sm { background: linear-gradient(135deg, #c9a96e, #e8c98a); color: #1a1a2e; border: none; font-weight: 600; border-radius: 6px; padding: 6px 14px; font-size: 0.82rem; }
.btn-gold-sm:hover { background: linear-gradient(135deg, #b8954e, #d4b070); color: #1a1a2e; }

.btn-status, .btn-details { font-size:.80rem; padding:5px 12px; border-radius:4px; font-weight:600; border:none; background:#000; color:#fff; cursor:pointer; }
.btn-status:hover, .btn-details:hover{
    background-color: #eb2627;
    color: #fff;
}
.empty-state { text-align:center; padding:60px 20px; color:#000; }


/* PROFILE PAGE DESIGNER */
.section-card .card-body { padding: 20px 22px; }
.profile-avatar {
    width: 90px; height: 90px; border-radius: 50%;
    object-fit: cover; border: 1px solid #000;
}
.avatar-placeholder {
    width: 90px; height: 90px; border-radius: 50%;
    background: linear-gradient(135deg, #2a2a4a, #1a1a2e);
    border: 3px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
}
.tab-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tab-btn {
    padding: 7px 16px; border-radius: 8px; border: 1.5px solid whitesmoke;
    background: #000; font-size: .86rem; font-weight: 600; color: #fff;
    cursor: pointer; transition: all .2s;
}
.tab-btn.active {
    background: #eb2627; color: #fff;
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.pwd-strength { height: 4px; border-radius: 2px; transition: all .3s; }

.info-label { font-size: .82rem; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.info-value { font-size: .9rem; color: #000; font-weight: 500; }
.info-value.empty { color: #ccc; font-style: italic; font-weight: 400; }
.doc-tile {
    border: 1.5px solid #000; border-radius: 4px;
    padding: 16px 12px; text-align: center; transition: border-color .2s;
}
.doc-tile:hover { border-color: #eb2627; }
.doc-tile i { font-size: 1.8rem; margin-bottom: 8px; }


/* ORDER PAGE  */
.order-row { border-radius:4px; border:1.5px solid #e9ecef; margin-bottom:10px; padding:16px 20px; background:whitesmoke; }
.order-img { width:56px; height:56px; object-fit:cover; border-radius:4px; border:1.5px solid #e0e0e0; background:#f8f4f0; }
.status-pill { font-size:.72rem; font-weight:700; padding:4px 10px; border-radius:4px; display:inline-block; white-space:nowrap; }
.s-pending            { background:#e9ecef; color:#495057; }
.s-confirmed          { background:#cff4fc; color:#055160; }
.s-production_started { background:#fff3cd; color:#664d03; }
.s-quality_check      { background:#fdebd0; color:#784c0a; }
.s-packed             { background:#d1ecf1; color:#0c5460; }
.s-shipped            { background:#cce5ff; color:#004085; }
.s-delivered          { background:#d4edda; color:#155724; }
.s-cancelled          { background:#f8d7da; color:#721c24; }
.s-returned           { background:#e2d9f3; color:#3d1a78; }

.pay-badge { font-size:.68rem; padding:2px 7px; border-radius:4px; font-weight:600; }
.pay-badge-cod    { background:#e9ecef; color:#495057; }
.pay-badge-online { background:#d4edda; color:#155724; }

/* ORDER VIEW PAGE */

.detail-card  { background:#fff; border-radius:4px; padding:24px 28px; margin-bottom:22px; }
.detail-label { font-size:0.75rem; font-weight:700; color:#999; text-transform:uppercase; letter-spacing:.5px; margin-bottom:2px; }
.timeline-step { display:flex; align-items:flex-start; gap:14px; padding-bottom:20px; position:relative; }
.timeline-step:not(:last-child)::after {
    content:''; position:absolute; left:14px; top:30px;
    width:2px; bottom:0; background:#e9ecef;
}
.timeline-dot { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0; }

.dot-done    { background:#d4edda; color:#155724; }
.dot-current { background: #000; color:#fff; }
.dot-pending { background:#e9ecef; color:#aaa; }
.payout-box  { background:#fff; border-radius:4px; padding:18px 22px;}

/* ACCOUNT SETUP */
.setup-card { background:#fff; border-radius:4px; margin-bottom:22px; overflow:hidden; }
.setup-card-head {
    padding:18px 24px; border-bottom:1px solid #f0ebe3;
    display:flex; align-items:center; justify-content:space-between;
}

.setup-card .step-badge {
    width:32px; height:32px; border-radius:50%; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    font-size:.78rem; font-weight:800;
}
.setup-card .step-badge.done    { background:#d4edda; color:#155724; }
.setup-card .step-badge.pending { background:#e9ecef; color:#aaa; }
.setup-card .step-badge.current { background:#000; color:#fff; }
.setup-card-body  { padding:22px 24px; }
.btn-edit-step {
    background:transparent; border:1.5px solid #000;
    color:#000; border-radius:4px; padding:5px 14px;
    font-size:.88rem; font-weight:600; transition:all .2s; cursor:pointer;
}
.btn-edit-step:hover { border-color:#eb2627; color:#eb2627; background:transparent; }
.progress-wrap { background:#fff; border-radius:4px; padding:22px 24px; margin-bottom:24px; }
.progress-steps { display:flex; align-items:flex-start; }

.progress-step  { flex:1; display:flex; flex-direction:column; align-items:center; position:relative; }
.progress-step:not(:last-child)::after {
    content:''; position:absolute; top:16px; left:50%; width:100%;
    height:2px; background:#e9ecef; z-index:0;
}
.progress-step.done:not(:last-child)::after { background:var(--gold); }
.step-circle {
    width:32px; height:32px; border-radius:50%; z-index:1;
    display:flex; align-items:center; justify-content:center;
    font-size:.78rem; font-weight:800;
    border:2px solid #e9ecef; background:#fff; color:#aaa;
}

.progress-step.done .step-circle    { background:#000; border-color:whitesmoke; color:#fff; }
.progress-step.current .step-circle { background:#000; border-color:#000; color:#fff; }

.step-label { font-size:.7rem; font-weight:600; color:#aaa; margin-top:6px; text-align:center; }
.progress-step.done .step-label, .progress-step.current .step-label { color:#000; }
.modal-content { border-radius:4px !important; border:0; }
.modal-header  { background:#000; color:#fff; border-radius:4px 4px 0 0 !important; }
.modal-header .btn-close { filter:invert(1) opacity(.7); }


@media (max-width: 767px) {
    .dash-sidebar { transform: translateX(-100%); transition: transform 0.25s; }
    .dash-sidebar.open { transform: translateX(0); }
    .dash-main { margin-left: 0; }
    .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
    .dash-body { padding: 16px; }
    .dash-topbar { padding: 12px 16px 12px 60px; }
}
