/**
 * Vendor Dashboard
 *
 * Base stylesheet.
 *
 * @package ThattukadaMarketplace
 */

/* --------------------------------------------------------------------------
   Dashboard Scope Reset
   -------------------------------------------------------------------------- */

.tkd-dashboard,
.tkd-dashboard *,
.tkd-dashboard *::before,
.tkd-dashboard *::after {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Dashboard Wrapper
   -------------------------------------------------------------------------- */

.tkd-dashboard {
	width: 100%;
	max-width: 100%;
}

/* --------------------------------------------------------------------------
   Dashboard Main Container
   -------------------------------------------------------------------------- */

.tkd-dashboard__main {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
}

/* --------------------------------------------------------------------------
   Responsive Layout
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
	.tkd-dashboard__main {
		width: 100%;
	}
}

@media (min-width: 1024px) {
	.tkd-dashboard__main {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Pending Approval
   -------------------------------------------------------------------------- */

.tkd-pending-approval {
	display: flex;
	justify-content: center;
	padding: 40px 20px;
}

.tkd-pending-approval__card {
	width: 100%;
	max-width: 650px;
	background: #ffffff;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	text-align: center;
}

.tkd-pending-approval__card h1 {
	margin: 0 0 20px;
	font-size: 30px;
}

.tkd-pending-approval__card p {
	margin: 0 0 15px;
	line-height: 1.7;
}

@media (max-width: 768px) {

	.tkd-pending-approval {
		padding: 20px;
	}

	.tkd-pending-approval__card {
		padding: 20px;
	}

	.tkd-pending-approval__card h1 {
		font-size: 24px;
	}
}

/* =====================================================
   Dashboard Header
===================================================== */

.tkd-page-header{

    background:#fff;
    border:1px solid var(--tkd-border);
    border-radius:16px;
    box-shadow:var(--tkd-shadow);

    padding:32px;
    margin-bottom:24px;

}

.tkd-page-title{

    margin:0;
    font-size:36px;
    font-weight:700;
    color:#0f172a;

}

.tkd-page-subtitle{

    margin-top:10px;
    color:#64748b;
    font-size:16px;
    line-height:1.7;

}

@media(max-width:768px){

    .tkd-page-header{

        padding:22px;

    }

    .tkd-page-title{

        font-size:28px;

    }

}
/* =====================================================
   Dashboard Navigation
===================================================== */

.tkd-dashboard-nav{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    padding:20px;
    background:#f8fafc;
    border-bottom:1px solid var(--tkd-border);
}

.tkd-nav-item{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 18px;
    text-decoration:none;
    color:#334155;
    background:#ffffff;
    border:1px solid var(--tkd-border);
    border-radius:12px;
    font-weight:600;
    transition:all .25s ease;
}

.tkd-nav-item:hover{
    background:#eff6ff;
    border-color:var(--tkd-primary);
    color:var(--tkd-primary);
    transform:translateY(-2px);
}

.tkd-nav-item.active{
    background:var(--tkd-primary);
    color:#fff;
    border-color:var(--tkd-primary);
    box-shadow:0 6px 18px rgba(37,99,235,.20);
}

@media(max-width:768px){

    .tkd-dashboard-nav{
        flex-wrap:nowrap;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }

    .tkd-dashboard-nav::-webkit-scrollbar{
        display:none;
    }

    .tkd-nav-item{
        white-space:nowrap;
        flex:0 0 auto;
    }

}
/* =====================================================================
 * Stitch Vendor Hub visual layer — native CSS, no business-logic changes.
 * ===================================================================== */
.tkd-dashboard{
	--tkd-stitch-primary:#00685f;
	--tkd-stitch-primary-container:#008378;
	--tkd-stitch-surface:#f8f9ff;
	--tkd-stitch-low:#eff4ff;
	--tkd-stitch-high:#dce9ff;
	--tkd-stitch-border:#bcc9c6;
	--tkd-stitch-text:#0b1c30;
	--tkd-stitch-muted:#3d4947;
	font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
	color:var(--tkd-stitch-text);
	background:var(--tkd-stitch-surface);
}
.tkd-dashboard-wrapper{max-width:1280px!important;margin:0 auto!important;padding:18px 16px 96px!important;background:var(--tkd-stitch-surface)!important;}
.tkd-dashboard-header{margin:0 0 16px!important;}
.tkd-page-header{background:#fff!important;border:1px solid rgba(188,201,198,.55)!important;border-radius:20px!important;box-shadow:0 4px 18px rgba(15,23,42,.05)!important;padding:20px 22px!important;margin:0!important;}
.tkd-page-title{font-family:"Plus Jakarta Sans",Inter,sans-serif!important;font-size:28px!important;line-height:1.2!important;color:var(--tkd-stitch-text)!important;margin:0!important;}
.tkd-page-subtitle{font-size:14px!important;color:#64748b!important;margin:7px 0 0!important;}
.tkd-dashboard-shell{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;}
.tkd-dashboard-nav{display:flex!important;flex-direction:column!important;gap:4px!important;padding:10px!important;background:#fff!important;border:1px solid rgba(188,201,198,.55)!important;border-radius:18px!important;box-shadow:0 4px 18px rgba(15,23,42,.04)!important;position:sticky;top:20px;}
.tkd-nav-item{display:flex!important;align-items:center!important;gap:10px!important;padding:11px 13px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#52605f!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important;transform:none!important;}
.tkd-nav-item:hover{background:var(--tkd-stitch-low)!important;color:var(--tkd-stitch-primary)!important;}
.tkd-nav-item.active{background:#e0f4f0!important;color:var(--tkd-stitch-primary)!important;border:0!important;box-shadow:none!important;font-weight:700!important;}
.tkd-dashboard-content{min-width:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;}
.tkd-dashboard-content h2,.tkd-dashboard-content h3{font-family:"Plus Jakarta Sans",Inter,sans-serif;}
.tkd-dashboard-content .bg-white{border-color:rgba(188,201,198,.55)!important;border-radius:18px!important;box-shadow:0 3px 16px rgba(15,23,42,.045)!important;}
.tkd-dashboard-content input,.tkd-dashboard-content select,.tkd-dashboard-content textarea{border-color:rgba(188,201,198,.8)!important;border-radius:12px!important;}
.tkd-dashboard-content button,.tkd-dashboard-content .button{border-radius:12px!important;}
.tkd-dashboard-content .text-blue-600,.tkd-dashboard-content .text-blue-500{color:var(--tkd-stitch-primary)!important;}
.tkd-dashboard-content .bg-blue-600,.tkd-dashboard-content .bg-blue-500{background:var(--tkd-stitch-primary)!important;}
.tkd-dashboard-content .hover\\:bg-blue-700:hover{background:var(--tkd-stitch-primary-container)!important;}
.tkd-dashboard-content .text-green-600{color:var(--tkd-stitch-primary)!important;}
.tkd-dashboard-content .bg-green-500{background:var(--tkd-stitch-primary)!important;}
.tkd-dashboard-content .border-blue-500{border-color:var(--tkd-stitch-primary)!important;}
.tkd-dashboard-mobile-nav{display:none;}
@media(max-width:900px){
	.tkd-dashboard-shell{grid-template-columns:1fr!important;}
	.tkd-dashboard-nav{position:static!important;flex-direction:row!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important;}
	.tkd-dashboard-nav::-webkit-scrollbar{display:none;}
	.tkd-nav-item{flex:0 0 auto!important;}
}
@media(max-width:600px){
	.tkd-dashboard-wrapper{padding:10px 10px 86px!important;}
	.tkd-page-header{padding:16px!important;border-radius:16px!important;}
	.tkd-page-title{font-size:23px!important;}
	.tkd-page-subtitle{font-size:13px!important;}
	.tkd-dashboard-nav{display:none!important;}
	.tkd-dashboard-mobile-nav{position:fixed;display:flex;left:0;right:0;bottom:0;z-index:9999;justify-content:space-around;align-items:center;min-height:64px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(18px);box-shadow:0 -5px 18px rgba(15,23,42,.08);border-top:1px solid rgba(188,201,198,.55);}
	.tkd-dashboard-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:62px;min-height:46px;border-radius:12px;text-decoration:none;color:#64748b;font-size:10px;font-weight:700;}
	.tkd-dashboard-mobile-nav a.is-active{color:var(--tkd-stitch-primary);background:#e0f4f0;}
	.tkd-dashboard-mobile-nav .material-symbols-outlined{font-size:21px;line-height:1;}
}
