/* Shivoham LMS 1.0 — Change 05 (branding + clean admin/store + responsive account UI) */
.sh-sidebar-credit{color:rgba(255,255,255,.84);font-size:9px;font-weight:500;line-height:1.8;overflow-wrap:anywhere;padding:15px 10px 9px;text-align:left;text-transform:uppercase;border-top:1px solid rgba(255,255,255,.1)}
.sh-sidebar-credit a{color:#ffda76;text-decoration:underline;text-underline-offset:2px}
.sh-admin-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.sh-site-footer{max-width:1280px;margin:28px auto 0;padding:24px clamp(18px,4vw,44px) 30px;color:var(--wine);font-size:clamp(9px,1vw,11px);font-weight:500;letter-spacing:.045em;line-height:1.9;text-align:center;text-transform:uppercase;border-top:1px solid #e8e0e7}
.sh-site-footer a{color:var(--wine);text-decoration:underline;text-underline-offset:3px}
.sh-site-footer>div{overflow-wrap:anywhere}
.sh-v5-gateway-panel[hidden]{display:none!important}
.sh-v5-gateway-panel{background:#fbf9fc;padding:17px!important;border:1px solid #e9e0e9;border-radius:13px}
.sh-v5-gateway-panel>.form-grid{gap:15px}
.sh-v5-gateway-panel .field{min-width:0}
.sh-v5-admin-email{margin-top:18px}
.sh-v5-profile-upload{display:flex;align-items:center;gap:11px;min-width:0}
.sh-v5-profile-upload img{width:48px;height:48px;object-fit:cover;border-radius:14px;border:1px solid #e6dce6;flex-shrink:0}
.sh-v5-profile-upload input{min-width:0;flex:1}
.sh-v5-phone-row{display:grid;grid-template-columns:minmax(130px,.82fr) minmax(0,1fr);gap:8px;min-width:0}
.sh-v5-phone-row select,.sh-v5-phone-row input{min-width:0;width:100%}
.sh-v5-signup-page .sh-signup-card .login-brand{margin-bottom:22px}
.sh-v5-signup-page .sh-signup-card{width:min(430px,calc(100vw - 30px));padding:32px}
.sh-v5-signup-page .sh-signup-form{gap:14px}
.sh-v5-website .sh-website-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:18px}
.sh-v5-website .sh-website-layout>*{min-width:0}
.sh-v5-website .sh-website-editor,.sh-v5-website .sh-website-items{padding:21px;border-radius:17px}
.sh-v5-website .sh-website-editor .field{margin-bottom:17px}
.sh-v5-website .sh-website-form label{font-size:11px;font-weight:500}
.sh-v5-website .sh-website-slide{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border:1px solid #eee7ee;border-radius:12px;padding:9px;margin:0 0 12px}
.sh-v5-website .sh-website-slide>img{height:74px;width:140px;max-width:100%;object-fit:cover;border-radius:9px;flex-shrink:0}
.sh-v5-website .sh-website-slide-copy{flex:1;min-width:120px;overflow-wrap:anywhere}
.sh-v5-website .sh-website-slide-copy small{font-size:10px;display:block;overflow-wrap:anywhere}
.sh-v5-website .sh-website-slide-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sh-v5-website .sh-website-slide-actions form{margin:0}
.sh-v5-website .sh-banner-admin-preview{max-width:100%;max-height:220px;object-fit:contain;border-radius:12px;margin:12px 0}
.sh-v5-store-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 14px}
.sh-v5-store-heading .store-filters{margin:0!important;min-width:0}
.sh-v5-store-heading .sh-v5-add-product{margin-left:auto;white-space:nowrap}
.sh-v5-store-heading+.panel{margin-top:0}
.content-area .sh-v2-heading:empty{display:none}
.content-area .sh-v2-heading>div:empty{display:none}
@media(max-width:960px){.sh-v5-website .sh-website-layout{grid-template-columns:1fr}.sh-v5-gateway-panel>.form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.sh-v5-store-heading{align-items:stretch;flex-direction:column-reverse;gap:12px}.sh-v5-store-heading .sh-v5-add-product{width:100%;margin:0;justify-content:center}.sh-v5-store-heading .store-filters{width:100%;overflow:auto}.sh-v5-phone-row{grid-template-columns:1fr}.sh-v5-signup-page .sh-signup-card{padding:24px 19px}.sh-v5-gateway-panel>.form-grid{grid-template-columns:1fr}.sh-v5-profile-upload{flex-wrap:wrap}.sh-site-footer{margin-top:20px;font-size:9px}.sh-v5-website .sh-website-slide{align-items:flex-start}.sh-v5-website .sh-website-slide>img{width:100%;height:auto;max-height:180px}}

.sh-v5-student-footer{text-align:center;text-transform:uppercase;letter-spacing:.04em;font-size:10px;line-height:1.8}
.sh-v5-student-footer span{display:block}
.sh-v5-student-footer a{color:var(--wine);text-decoration:underline}

/* v1.0 Change 06 - scoped login/account and assessment layout. */
.sh-register-signin{margin:18px 0 0;text-align:center;color:#6e6170;font-size:12px;line-height:1.8}
.sh-register-signin a{color:var(--wine);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.sh-v6-quiz-toolbar{display:flex!important;align-items:center;justify-content:flex-end!important;gap:12px;width:100%;margin:0 0 18px!important;min-height:40px}
.sh-v6-quiz-toolbar>.btn{margin-left:auto}
@media(max-width:540px){.sh-v6-quiz-toolbar>.btn{max-width:100%;justify-content:center}}

/* Shivoham LMS v1.0 - focused Change 08: mobile course cards and course details. */
@media (max-width: 830px) {
  .sh-course-detail-page .sh-detail-hero { display:none!important; }
  .sh-course-detail-page .sh-detail-layout {display:flex!important;flex-direction:column;gap:17px;min-width:0;}
  .sh-course-detail-page .sh-detail-right {order:-1;width:100%;min-width:0;}
  .sh-course-detail-page .sh-detail-left {order:1;width:100%;min-width:0;}
  .sh-course-detail-page .sh-detail-purchase {position:static;top:auto;width:100%;}
  .sh-course-detail-page .sh-detail-purchase-cover {aspect-ratio:auto;height:auto;min-height:0;}
  .sh-course-detail-page .sh-detail-purchase-cover img {display:block;width:100%;height:auto;max-height:320px;object-fit:contain;object-position:center;background:#fff;}
  .sh-course-detail-page .sh-detail-intro h1 {display:none;}
  .sh-course-detail-page .sh-detail-intro {margin:0 0 12px;}
  .sh-course-detail-page .sh-detail-intro p {margin:0;color:var(--wine,#4A003C);}
  .sh-store-products-grid .store-product-art img {object-fit:contain;object-position:center;}
}
@media (max-width:620px) {
  .sh-store-products-grid .store-product-art {aspect-ratio:4/3!important;}
  .sh-store-products-grid .store-product-art img {object-fit:contain!important;object-position:center!important;}
  .sh-course-detail-page .sh-detail-purchase {border-radius:15px;}
  .sh-course-detail-page .sh-detail-purchase-cover img {max-height:260px;}
  .sh-course-detail-page .sh-detail-purchase-inner {padding:15px 16px 17px;}
  .sh-course-detail-page .sh-detail-purchase-inner h3 {font-size:15px;line-height:1.5;}
  .sh-course-detail-page .sh-detail-purchase-price {margin:12px 0;padding:10px 0;}
  .sh-course-detail-page .sh-detail-purchase-price strong {font-size:23px;}
  .sh-course-detail-page .sh-detail-meta-grid {margin-bottom:13px;}
  .sh-course-detail-page .sh-v2-tabs {margin-top:12px;}
  .sh-store-products-grid .store-product-badge {top:8px;left:8px;}
}
