/* PowerDealShop shared styles: preserve source order. 2026-10-03 */
:root{
--bg:#f7f7fb;
--card:#ffffff;
--text:#14141a;
--muted:#6b6b78;
--border:#e7e7ef;
--brand:#7b5cff;
--brand2:#a18bff;
--success:#19a35b;
--warn:#ffb020;
--shadow: 0 12px 40px rgba(20,20,26,.08);
--radius: 18px;
--radius2: 24px;
--max: 1120px;
--gap: 22px;
}
*{box-sizing:border-box}
body{
margin:0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
color:var(--text);
background:
radial-gradient(1200px 600px at 20% -10%, rgba(123,92,255,.18), transparent 60%),
radial-gradient(900px 500px at 90% 10%, rgba(161,139,255,.14), transparent 55%),
var(--bg);
}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.topbar{
position:sticky; top:0; z-index:50;
backdrop-filter:saturate(180%) blur(10px);
background: rgba(255,255,255,.75);
border-bottom:1px solid rgba(231,231,239,.8);
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0;}
.brand{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.2px;}
.logo{
width:38px; height:38px; border-radius:12px;
background: conic-gradient(from 220deg, var(--brand), #ff5cc8, #ffcc5c, #53d3ff, var(--brand));
box-shadow: 0 8px 22px rgba(123,92,255,.25);
}
.trust{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.pill{
font-size:12px; color:var(--muted);
background:rgba(245,245,250,.9);
border:1px solid rgba(231,231,239,.95);
padding:8px 10px;
border-radius:999px;
white-space:nowrap;
}
.hero{padding:28px 0 22px}
.grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 22px;
align-items: start;
}
.badge{
display:inline-flex; align-items:center; gap:8px;
padding:8px 12px; border-radius:999px;
background: rgba(123,92,255,.12);
border: 1px solid rgba(123,92,255,.28);
color:#4d3bd6; font-weight:800; font-size:12px;
}
h1{margin:14px 0 10px; font-size:44px; line-height:1.06; letter-spacing:-.8px;}
.sub{margin:0 0 16px; color:var(--muted); font-size:16px; line-height:1.6; max-width:56ch;}
.price-row{display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; margin:14px 0 14px;}
.price{font-size:36px; font-weight:950}
.strike{color:var(--muted); text-decoration:line-through; font-weight:700}
.deal{
font-size:12px; font-weight:900; color:#0d7c3f;
background: rgba(25,163,91,.12);
border:1px solid rgba(25,163,91,.25);
padding:7px 10px; border-radius:999px;
}
.hero-points{display:grid; gap:10px; margin:14px 0 0;}
.point{display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-size:14px; line-height:1.55;}
.dot{
width:10px; height:10px; border-radius:50%;
background: linear-gradient(180deg, var(--brand), var(--brand2));
margin-top:5px; flex:0 0 auto;
box-shadow:0 6px 14px rgba(123,92,255,.25);
}
.card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius2); box-shadow:var(--shadow); overflow:hidden;}
.media{padding:18px 18px 0;}
.img-wrap{
background:#f1f1f6;
border:1px solid rgba(231,231,239,.9);
border-radius:22px;
overflow:hidden;
aspect-ratio: 4 / 5;
display:flex; align-items:center; justify-content:center;
}
.img-wrap img{width:150%; height:110%; object-fit:contain; display:block;}
.thumbs{display:flex; gap:10px; padding:12px 0 2px;}
.thumb{
width:56px; height:56px;
border-radius:14px;
border:2px solid rgba(123,92,255,.35);
background:#f6f6fb;
overflow:hidden;
cursor:pointer;
opacity:.85;
flex:0 0 auto;
}
.thumb img{width:100%; height:100%; object-fit:cover}
.thumb:hover{opacity:1}
.thumb.active {border-color: var(--brand); opacity: 1;}
.buy{padding:16px 18px 18px;}
.stars{color:var(--warn); font-weight:900; letter-spacing:.4px}
.rating{color:var(--muted); font-size:13px; margin-left:8px}
.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:12px 0;}
.colors{display:flex; gap:10px; align-items:center;}
.c{width:18px; height:18px; border-radius:999px; border:2px solid rgba(231,231,239,.95); box-shadow:0 6px 14px rgba(20,20,26,.08); cursor:pointer;}
.c[data-col="vert"]   { background: #134d2e; }
.c[data-col="rouge"]  { background: #7a1010; }
.c[data-col="blanc"]  {background: #ffffff;	}
.c[data-col="noir"]   { background: #111111; }
.c[data-col="beige"]  { background: #d8c9b5; }
.c[data-col="violet"] { background: #6a4c93; }
.c[data-col="gris"]  { background:#bdbdbd; }
.c[data-col="marron"]  { background:#5a3823; }
.c[data-col="bleu"]  { background:#0d52c7; }
border: 2px solid #d1d1d8;
.c.active{outline:3px solid rgba(123,92,255,.35); outline-offset:3px}
}
.select{width:100%; padding:12px 12px; border:1px solid var(--border); border-radius:14px; background:#fff; font-weight:700;}
.btn{
width:100%;
border:none;
border-radius:16px;
padding:14px 14px;
font-weight:950;
font-size:16px;
cursor:pointer;
transition: transform .06s ease, filter .15s ease;
}
.btn:active{transform: translateY(1px)}
.btn.primary{background: linear-gradient(180deg, var(--brand), var(--brand2)); color:#fff; box-shadow:0 14px 28px rgba(123,92,255,.28);}
.btn.ghost{margin-top:10px; background:#fff; border:2px solid rgba(123,92,255,.55); color:var(--brand);}
.mini{display:grid; gap:10px; margin-top:14px; color:var(--muted); font-size:13px;}
.mini b{color:var(--text)}
.divider{height:1px; background:var(--border); margin:14px 0}
section{padding:1px 0}
.section-title{font-size:28px; letter-spacing:-.5px; margin:0 0 12px;}
.cards{display:grid; grid-template-columns: repeat(4, 1fr); gap:14px;}
.info{padding:16px; border-radius:18px; border:1px solid var(--border); background: rgba(255,255,255,.8);}
.info h3{margin:0 0 8px; font-size:16px}
.info p{margin:0; color:var(--muted); font-size:14px; line-height:1.6}
.proof{
display:flex; gap:14px; flex-wrap:wrap; align-items:center;
padding:16px; border:1px solid var(--border);
background: rgba(255,255,255,.85);
border-radius:18px;
}
.proof strong{font-size:18px}
.proof .quote{color:var(--muted); font-size:14px}
.two{display:grid; grid-template-columns: 1fr 1fr; gap:14px; align-items:start;}
.faq details{border:1px solid var(--border); border-radius:16px; padding:14px; background: rgba(255,255,255,.85);}
.faq details + details{margin-top:10px}
.faq summary{cursor:pointer; font-weight:900; list-style:none;}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin:10px 0 0; color:var(--muted); line-height:1.65}
.guarantee{
display:flex; justify-content:space-between; align-items:center;
gap:14px; flex-wrap:wrap;
padding:16px; border-radius:18px;
border:1px solid rgba(25,163,91,.25);
background: rgba(25,163,91,.10);
color:#0b6b35;
}
footer{padding:30px 0 40px; color:var(--muted); font-size:13px;}
@media (max-width: 980px){
.grid{grid-template-columns:1fr;}
h1{font-size:38px}
.cards{grid-template-columns:1fr 1fr}
}
@media (max-width: 520px){
h1{font-size:32px}
.cards{grid-template-columns:1fr}
.trust{display:none}
}
@media (max-width: 980px) {
.grid {
grid-template-columns: 1fr;
}
.hero-under-text {
margin-top: 20px;
}
}
.sizes {
display: flex;
gap: 10px;
margin: 10px 0 14px;
}
.size-btn {
min-width: 44px;
padding: 10px 14px;
border-radius: 12px;
border: 2px solid #e0e0ee;
background: #fff;
font-weight: 800;
cursor: pointer;
}
.size-btn.active {
border-color: #7b5cff;
background: rgba(123,92,255,.1);
color: #4d3bd6;
}
.c {
width: 14px;
height: 14px;
border-radius: 50%;
cursor: pointer;
border: 2px solid #ddd;
transition: all .2s ease;
}
.c.active {
border-color: #6c63ff;
box-shadow: 0 0 0 2px rgba(108,99,255,.25);
transform: scale(1.15);
}
.size-btn.disabled {
opacity: .4;
cursor: not-allowed;
}
.buy-actions {
display: flex;
gap: 10px;
background: #fff;
}
@media (min-width: 980px) {
.buy-actions {
position: sticky;
bottom: 16px;
z-index: 5;
padding-top: 30px;
}
}
@media (max-width: 979px) {
.buy-actions {
position: fixed;
left: 0;
right: 0;
bottom: 0;
padding: 12px;
z-index: 1000;
border-top: 1px solid #eee;
box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.buy-actions .btn {
flex: 1;
}
body {
padding-bottom: 88px;
}
}
.main-nav { display: flex; gap: 20px; margin-left: 30px;}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px;}
.account a { font-weight: 600; text-decoration: none; color: #222;}
.account .register { color: #7b5cff; }
.trust-bar { margin: 10px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;}
.hero-under-text { margin-top: 28px; border-radius: 24px; overflow: hidden;background: #f1f1f6;box-shadow: 0 18px 40px rgba(20,20,26,.12);}
.hero-under-text img { width: 100%; height: auto; display: block; object-fit: cover;}
.header-auth {
display: flex;
align-items: center;
gap: 12px;
}
.auth-link {
padding: 8px 16px;
border-radius: 999px;
font-size: 14px;
font-weight: 700;
text-decoration: none;
transition: all .25s ease;
white-space: nowrap;
}
.auth-link.login {
color: #6f63ff;
border: 2px solid #6f63ff;
}
.auth-link.login:hover {
background: rgba(111,99,255,.08);
}
.auth-link.register {
color: #fff;
background: linear-gradient(135deg,#6f63ff,#8a7dff);
box-shadow: 0 8px 20px rgba(111,99,255,.35);
}
.auth-link.register:hover {
transform: translateY(-1px);
box-shadow: 0 12px 28px rgba(111,99,255,.45);
}
.auth-link.account {
color: #4b3cff;
background: rgba(111,99,255,.12);
}
.auth-link.account:hover {
background: rgba(111,99,255,.20);
}
.auth-link.logout {
color: #666;
border: 2px solid #ddd;
}
.auth-link.logout:hover {
background: #f3f3f3;
}
.auth-link.admin {
color: #fff;
background: #2b2b2b;
}
.auth-link.admin:hover {
background: #000;
}
.mobile-buy-bar {
display: none;
}
@media (max-width: 768px) {
.mobile-buy-bar {
display: flex;
gap: 12px;
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 14px;
background: #fff;
box-shadow: 0 -8px 30px rgba(0,0,0,.12);
z-index: 999;
}
.mobile-buy-bar .btn {
flex: 1;
}
.header-auth {
gap: 8px;
}
.auth-link {
padding: 6px 12px;
font-size: 13px;
}
.topbar-inner {
display: grid;
grid-template-columns: auto 1fr auto;
grid-template-areas:
"brand . cart"
"nav nav nav"
"actions actions actions";
align-items: center;
gap: 10px;
}
.topbar-inner .brand {
grid-area: brand;
justify-self: start;
margin: 0;
}
.topbar-inner .cart-link {
grid-area: cart;
justify-self: end;
font-size: 20px;
}
.topbar-inner .main-nav {
grid-area: nav;
justify-content: center;
gap: 14px;
margin: 8px 0 0;
font-size: 14px;
}
.topbar-inner .header-actions {
grid-area: actions;
justify-content: center;
margin-top: 6px;
}
.brand,
.trust-bar {
width: 100%;
justify-content: center;
}
.pill {
padding: 6px 10px;
font-size: 11px;
}
}
.hamburger-btn {
display: none;
background: none;
border: 0;
cursor: pointer;
flex-direction: column;
gap: 5px;
}
.hamburger-btn span {
width: 24px;
height: 2px;
background: #111;
display: block;
}
.mobile-menu {
display: none;
position: fixed;
top: 64px;
left: 0;
right: 0;
background: #fff;
z-index: 1500;
padding: 16px;
border-top: 1px solid rgba(0,0,0,.08);
}
.mobile-menu ul {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 10px;
}
.mobile-menu a {
display: block;
padding: 12px;
border-radius: 10px;
background: #f5f5f7;
text-decoration: none;
color: #111;
font-weight: 500;
}
@media (max-width: 768px) {
.hamburger-btn {
display: flex;
}
.home-categories {
display: none;
}
.mobile-menu.open {
display: block;
}
}
@media (max-width: 768px) {
.topbar-inner {
position: relative;
}
.hamburger-btn {
position: absolute;
left: 12px;
top: 70%;
transform: translateY(-50%);
z-index: 2000;
}
}
.mini-cart-wrap {
position: relative;
}
.mini-cart-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: transparent;
border: 0;
cursor: pointer;
padding: 6px 8px;
border-radius: 10px;
}
.mini-cart-panel {
position: absolute;
right: 12px;
top: calc(100% + 10px);
width: min(420px, 92vw);
background: #fff;
border: 1px solid rgba(0,0,0,.08);
border-radius: 14px;
box-shadow: 0 12px 40px rgba(0,0,0,.12);
z-index: 999;
display: none;
}
.mini-cart-panel.open {
display: block;
}
.mini-cart-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 14px;
border-bottom: 1px solid rgba(0,0,0,.06);
}
.mini-cart-items {
max-height: 50vh;
overflow: auto;
padding: 10px 14px;
display: grid;
gap: 10px;
}
.mini-cart-item {
display: grid;
grid-template-columns: 56px 1fr auto;
gap: 10px;
align-items: center;
}
.mini-cart-item img {
width: 56px;
height: 56px;
object-fit: cover;
border-radius: 12px;
background: #f3f3f3;
}
.mini-cart-sub {
padding: 10px 14px;
border-top: 1px solid rgba(0,0,0,.06);
display: grid;
gap: 10px;
}
.mini-cart-actions {
display: flex;
gap: 10px;
}
.mini-cart-actions a,
.mini-cart-actions button {
flex: 1;
}
.ship-meter {
display: grid;
gap: 6px;
}
.ship-meter-bar {
height: 10px;
background: rgba(0,0,0,.08);
border-radius: 999px;
overflow: hidden;
}
.ship-meter-bar > div {
height: 100%;
width: 0%;
background: #111;
border-radius: 999px;
}
@media (max-width: 768px) {
.mini-cart-btn {
margin-left: auto;
}
}
.vy-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,.55);
display: none;
z-index: 2000;
}
.vy-modal-overlay.open {
display: block;
}
.vy-modal {
position: fixed;
inset: 0;
display: none;
z-index: 2001;
align-items: center;
justify-content: center;
padding: 18px;
}
.vy-modal.open {
display: flex;
}
.vy-modal-card {
width: min(980px, 96vw);
max-height: 92vh;
overflow: auto;
background: #fff;
border-radius: 16px;
box-shadow: 0 18px 70px rgba(0,0,0,.35);
}
.vy-modal-card .vy-modal-top {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 14px;
border-bottom: 1px solid rgba(0,0,0,.06);
position: sticky;
top: 0;
background: #fff;
z-index: 1;
}
.vy-modal-close {
border: 0;
background: rgba(0,0,0,.06);
cursor: pointer;
border-radius: 10px;
padding: 8px 10px;
}
.vy-modal-body {
padding: 14px;
}
#miniCartFallback {
display: none;
}
#miniCartBtn {
display: inline-flex;
}
.no-js #miniCartBtn {
display: none !important;
}
.no-js #miniCartFallback {
display: inline-flex !important;
}
.cart-link {
position: relative;
display: inline-flex;
align-items: center;
text-decoration: none;
margin-left: 100%;
}
.cart-icon {
font-size: 22px;
}
#cartCount {
position: absolute;
top: -6px;
right: -10px;
background: linear-gradient(135deg, #7b5cff, #a18bff);
color: #fff;
font-size: 11px;
font-weight: 800;
min-width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.cart-page {
max-width: 1000px;
margin: 40px auto;
}
.cart-title {
font-size: 28px;
margin-bottom: 20px;
}
.cart-table {
background: #fff;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.cart-head,
.cart-row {
display: grid;
grid-template-columns: 2fr 1.5fr .5fr .8fr .5fr;
align-items: center;
padding: 14px 18px;
}
.cart-head {
background: #f5f5fb;
font-weight: 700;
font-size: 14px;
}
.cart-row {
border-top: 1px solid #eee;
}
.cart-product {
display: flex;
gap: 14px;
align-items: center;
}
.cart-product img {
width: 64px;
height: 80px;
object-fit: cover;
border-radius: 10px;
}
.cart-meta {
font-size: 14px;
color: #555;
}
.cart-remove {
color: #d33;
font-size: 14px;
text-decoration: none;
}
.cart-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 24px;
}
.cart-total {
font-size: 20px;
font-weight: 800;
}
.cart-pay {
padding: 14px 26px;
font-size: 16px;
}
@media (max-width: 768px) {
.cart-table {
background: transparent;
box-shadow: none;
}
.cart-head {
display: none;
}
.cart-row {
display: grid;
grid-template-columns: 72px 1fr;
grid-template-areas:
"img title"
"img meta"
"img qty"
"img price"
"img remove";
gap: 10px 12px;
padding: 16px;
margin-bottom: 16px;
border-radius: 18px;
background: #fff;
box-shadow: 0 12px 24px rgba(20,20,30,.08);
}
.cart-product img {
grid-area: img;
width: 72px;
border-radius: 12px;
}
.cart-product strong {
grid-area: title;
font-size: 14px;
font-weight: 600;
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.cart-meta {
grid-area: meta;
font-size: 13px;
color: #6b7280;
}
.cart-meta div {
margin-bottom: 2px;
}
.cart-qty {
grid-area: qty;
display: flex;
align-items: center;
gap: 8px;
}
.cart-qty button {
width: 28px;
height: 28px;
border-radius: 8px;
border: 1px solid #e5e7eb;
background: #f9fafb;
font-size: 14px;
}
.cart-price {
grid-area: price;
font-size: 16px;
font-weight: 700;
color: #111827;
}
.cart-remove {
grid-area: remove;
font-size: 13px;
color: #7c3aed;
}
.cart-footer {
position: sticky;
bottom: 0;
background: var(--bg);
padding: 16px;
box-shadow: 0 -8px 24px rgba(0,0,0,.08);
}
.cart-total {
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
}
.cart-pay,
.cart-footer .btn.primary {
width: 100%;
padding: 14px;
font-size: 16px;
border-radius: 999px;
}
}
@media (max-width: 768px) {
.cart-product {
display: contents;
}
}
.dashboard {
display: flex;
gap: 24px;
margin: 40px auto;
max-width: 1200px;
padding: 0 20px;
}
.dashboard-menu {
min-width: 220px;
background: rgba(255,255,255,0.75);
border-radius: 18px;
padding: 18px;
box-shadow: 0 10px 30px rgba(90,60,255,0.08);
}
.dashboard-menu strong {
display: block;
margin-bottom: 10px;
font-weight: 800;
}
.dashboard-menu a {
display: block;
padding: 12px 14px;
margin-bottom: 6px;
border-radius: 12px;
color: #4b3cff;
font-weight: 600;
text-decoration: none;
transition: background .25s ease, color .25s ease;
}
.dashboard-menu a:hover,
.dashboard-menu a.active {
background: linear-gradient(135deg,#6f63ff,#8a7dff);
color: #fff;
}
.dashboard-content {
flex: 1;
background: rgba(255,255,255,0.85);
border-radius: 22px;
padding: 30px;
box-shadow: 0 20px 50px rgba(90,60,255,0.10);
}
.dashboard-content h1 {
font-size: 32px;
margin-bottom: 14px;
}
.dashboard-content h2 {
margin-top: 30px;
font-size: 22px;
}
.order-card,
.message-card,
.profile-box {
background: #fff;
border-radius: 18px;
padding: 22px;
margin-bottom: 20px;
box-shadow: 0 8px 25px rgba(0,0,0,0.06);
line-height: 1.6;
}
.order-card strong {
color: #4b3cff;
}
.message-card.admin {
border-left: 5px solid #6f63ff;
}
.message-card.user {
border-left: 5px solid #ccc;
}
.auth,
.form-address,
.message-form,
.profile-box form {
max-width: 540px;
}
label {
display: block;
font-weight: 700;
font-size: 14px;
margin: 14px 0 6px;
}
input,
textarea,
select {
width: 100%;
padding: 14px 16px;
border-radius: 14px;
border: 1px solid #ddd;
margin-bottom: 14px;
font-size: 15px;
transition: border .2s ease, box-shadow .2s ease;
}
input:focus,
textarea:focus,
select:focus {
outline: none;
border-color: #6f63ff;
box-shadow: 0 0 0 3px rgba(111,99,255,0.15);
}
.btn.primary {
width: 100%;
padding: 14px;
border-radius: 999px;
font-weight: 800;
background: linear-gradient(135deg,#6f63ff,#8a7dff);
box-shadow: 0 10px 25px rgba(111,99,255,0.35);
transition: transform .2s ease, box-shadow .2s ease;
}
.btn.primary:hover {
transform: translateY(-2px);
box-shadow: 0 14px 32px rgba(111,99,255,0.45);
}
.btn.ghost {
width: 100%;
margin-top: 10px;
padding: 12px;
border-radius: 999px;
background: transparent;
border: 2px solid #6f63ff;
color: #6f63ff;
font-weight: 700;
}
.avatar {
display: flex;
align-items: center;
gap: 22px;
margin-bottom: 20px;
}
.avatar img {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 4px solid rgba(111,99,255,0.25);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.role-badge {
display: inline-block;
padding: 4px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
}
.role-admin {
background: rgba(111,99,255,.15);
color: #4b3cff;
}
.role-user {
background: rgba(0,0,0,.08);
color: #555;
}
.admin-user-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px 24px;
margin-top: 14px;
}
.admin-user-grid span {
display: block;
font-size: 13px;
color: #6b6b6b;
}
.admin-user-grid strong {
font-size: 15px;
color: #2b2b2b;
}
.success {
background: rgba(50,200,150,0.15);
color: #0f5132;
padding: 12px 16px;
border-radius: 12px;
margin-bottom: 16px;
}
.error {
background: rgba(220,60,60,0.15);
color: #842029;
padding: 12px 16px;
border-radius: 12px;
margin-bottom: 16px;
}
@media (max-width: 900px) {
.dashboard {
flex-direction: column;
}
.dashboard-menu {
display: flex;
gap: 10px;
overflow-x: auto;
}
.dashboard-menu a {
white-space: nowrap;
}
.admin-user-grid {
grid-template-columns: 1fr;
}
}
.profile-box {
background: #fff;
border-radius: 22px;
padding: 28px;
box-shadow: 0 18px 45px rgba(90,60,255,0.12);
max-width: 700px;
}
.profile-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 30px;
}
.profile-avatar {
width: 110px;
height: 110px;
border-radius: 50%;
object-fit: cover;
border: 4px solid rgba(111,99,255,.25);
box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.profile-header h2 {
margin: 0;
font-size: 24px;
}
.profile-sub {
color: #777;
font-size: 14px;
margin-top: 4px;
}
.profile-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px 20px;
margin-bottom: 20px;
}
.profile-box label {
font-weight: 600;
margin-bottom: 6px;
display: block;
color: #333;
}
.profile-box input[type="text"],
.profile-box input[type="file"] {
width: 100%;
padding: 14px 16px;
border-radius: 14px;
border: 1px solid #ddd;
font-size: 15px;
}
.profile-box .btn.primary {
margin-top: 24px;
width: 100%;
}
@media (max-width: 700px) {
.profile-grid {
grid-template-columns: 1fr;
}
.profile-header {
flex-direction: column;
text-align: center;
}
}
.profile-header {
display: flex;
align-items: center;
gap: 24px;
margin-bottom: 30px;
}
.profile-avatar {
width: 96px;
height: 96px;
border-radius: 50%;
object-fit: cover;
background: linear-gradient(135deg, #6f63ff, #8a7dff);
box-shadow: 0 12px 30px rgba(111,99,255,0.35);
border: 4px solid #fff;
}
.profile-avatar:not([src]),
.profile-avatar[src=""] {
display: none;
}
.profile-avatar-wrapper {
width: 96px;
height: 96px;
border-radius: 50%;
background: linear-gradient(135deg,#6f63ff,#8a7dff);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: 800;
font-size: 28px;
box-shadow: 0 12px 30px rgba(111,99,255,0.35);
}
}
@media (max-width: 700px) {
.profile-header {
flex-direction: column;
text-align: center;
}
.profile-grid {
grid-template-columns: 1fr;
}
}
.messages-history {
margin-top: 20px;
max-height: 320px;
overflow-y: auto;
padding-right: 6px;
}
.messages-history::-webkit-scrollbar {
width: 6px;
}
.messages-history::-webkit-scrollbar-thumb {
background: rgba(111,99,255,.4);
border-radius: 10px;
}
.message-card {
background: #fff;
border-radius: 18px;
padding: 16px 18px;
margin-bottom: 14px;
box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.message-card:last-child {
margin-bottom: 0;
}
.admin-messages-history {
margin-top: 20px;
max-height: 760px;
overflow-y: auto;
padding-right: 6px;
}
.admin-messages-history::-webkit-scrollbar {
width: 6px;
}
.admin-messages-history::-webkit-scrollbar-thumb {
background: rgba(111,99,255,.45);
border-radius: 10px;
}
.message-card {
background: #fff;
border-radius: 18px;
padding: 16px 18px;
margin-bottom: 14px;
box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.message-card:last-child {
margin-bottom: 0;
}
.message-card.admin {
border-left: 4px solid #6f63ff;
}
.message-card.user {
border-left: 4px solid #ccc;
}
.admin-reply-form {
margin-top: 12px;
display: grid;
gap: 8px;
}
.order-toggle { font-weight:800; }
.order-details-row td { padding:0; }
.order-details {
background:#fff;
margin:14px;
padding:20px;
border-radius:18px;
border:1px solid #e5e7eb;
box-shadow:0 12px 30px rgba(0,0,0,.06);
}
.detail-title { font-weight:900; margin-bottom:8px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.actions { margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
@media(max-width:900px){ .grid-2{grid-template-columns:1fr;} }
.vy-cc-overlay{
display:none !important;
position:fixed !important;
inset:0 !important;
z-index:999999 !important;
align-items:flex-end;
justify-content:center;
padding:14px !important;
background:rgba(0,0,0,.35) !important;
}
html.vy-cc-open .vy-cc-overlay{
display:flex !important;
}
.vy-cc-overlay[hidden]{ display:none !important; }
html.vy-cc-open,
html.vy-cc-open body{
overflow:hidden !important;
}
.vy-cc{
width:min(720px, 100%) !important;
max-height:calc(100vh - 28px) !important;
overflow:auto !important;
background:#fff !important;
border-radius:14px !important;
box-shadow:0 14px 40px rgba(0,0,0,.22) !important;
padding:16px !important;
outline:none;
box-sizing:border-box !important;
text-align:left !important;
color:#111 !important;
font-family:inherit !important;
}
.vy-cc *,
.vy-cc *::before,
.vy-cc *::after{ box-sizing:border-box !important; }
.vy-cc__top h2{
margin:0 0 8px 0 !important;
font-size:18px !important;
}
.vy-cc p{
margin:0 0 14px 0 !important;
line-height:1.35 !important;
font-size:14px !important;
}
.vy-cc__actions{
display:flex !important;
gap:10px !important;
flex-wrap:wrap !important;
margin:8px 0 6px 0 !important;
}
.vy-btn{
appearance:none !important;
-webkit-appearance:none !important;
border:1px solid #ddd !important;
background:#f7f7f7 !important;
color:#111 !important;
border-radius:10px !important;
padding:10px 12px !important;
font-weight:600 !important;
cursor:pointer !important;
font-size:14px !important;
}
.vy-btn:focus{ outline:2px solid #111 !important; outline-offset:2px !important; }
.vy-btn--primary{
background:#111 !important;
border-color:#111 !important;
color:#fff !important;
}
.vy-btn--ghost{ background:#fff !important; }
.vy-cc__links{ margin-top:8px !important; }
.vy-cc__link{
font-size:13px !important;
color:#111 !important;
text-decoration:underline !important;
}
.vy-cc__prefs{
margin-top:14px !important;
border-top:1px solid #eee !important;
padding-top:12px !important;
}
.vy-cc__prefs h3{
margin:0 0 10px 0 !important;
font-size:16px !important;
}
.vy-cc__pref{
display:grid !important;
grid-template-columns:1fr auto !important;
gap:10px !important;
padding:10px 0 !important;
border-bottom:1px solid #f0f0f0 !important;
}
.vy-cc__muted{
font-size:12px !important;
color:#555 !important;
margin-top:3px !important;
}
.vy-cc__actions--prefs{ margin-top:12px !important; }
.vy-switch{
position:relative !important;
display:inline-flex !important;
align-items:center !important;
}
.vy-switch input{
position:absolute !important;
opacity:0 !important;
width:1px !important;
height:1px !important;
}
.vy-switch__ui{
width:46px !important;
height:28px !important;
border-radius:999px !important;
background:#ddd !important;
position:relative !important;
transition:background .2s ease !important;
}
.vy-switch__ui::after{
content:"" !important;
width:22px !important;
height:22px !important;
border-radius:50% !important;
background:#fff !important;
position:absolute !important;
top:3px !important;
left:3px !important;
transition:transform .2s ease !important;
box-shadow:0 2px 8px rgba(0,0,0,.18) !important;
}
.vy-switch input:checked + .vy-switch__ui{ background:#111 !important; }
.vy-switch input:checked + .vy-switch__ui::after{ transform:translateX(18px) !important; }
@media (max-width:480px){
.vy-cc-overlay{ padding:10px !important; }
.vy-cc{ padding:14px !important; }
}
