:root {
  --dash-bg: #0a0b0e;
  --dash-surface: rgba(20, 22, 28, 0.6);
  --dash-border: rgba(255, 255, 255, 0.08);
  --gold-glow: rgba(201, 169, 110, 0.15);
}
body { background: var(--dash-bg); color: var(--text); font-family: 'Outfit', sans-serif; margin: 0; min-height: 100vh; display: flex; flex-direction: column; cursor: auto !important; }
.hidden { display: none !important; }
.dash-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; border-bottom: 1px solid var(--dash-border); background: rgba(10, 11, 14, 0.8); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: #fff; cursor: pointer; }
.nav-logo span { color: var(--gold); }
.nav-user { display: flex; align-items: center; gap: 24px; }
.user-name-box { display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-glow); border: 1px solid rgba(201,169,110,0.3); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 600; }
.btn-logout { color: #d95a5a; font-size: 14px; font-weight: 500; text-decoration: none; transition: 0.3s; cursor: pointer; border: none; background: transparent; }
.btn-logout:hover { color: #ff7676; }
.dash-main { flex: 1; padding: 60px 40px; max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.dash-title-group h1 { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 400; margin: 0 0 8px 0; color: #fff; display: flex; align-items: center; gap: 12px; }
.dash-title-group p { color: var(--sub); font-size: 16px; margin: 0; }
.tier-badge { background: linear-gradient(135deg, #c9a96e 0%, #b39151 100%); color: #000; font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 12px var(--gold-glow); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.card-item { background: var(--dash-surface); border: 1px solid var(--dash-border); border-radius: 20px; padding: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.card-item:hover { border-color: rgba(201, 169, 110, 0.4); transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 20px var(--gold-glow); }
.btn-ghost { background: transparent; color: var(--text); font-family: 'Outfit', sans-serif; cursor: pointer; transition: 0.2s; border-radius: 8px; }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }
.card-item.empty { border: 2px dashed rgba(255,255,255,0.15); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; cursor: pointer; text-align: center; padding: 30px; }
.card-item.empty:hover { border-color: var(--gold); background: var(--gold-glow); }
.empty-icon { font-size: 32px; color: var(--gold); margin-bottom: 16px; transition: 0.3s; }
.card-item.empty:hover .empty-icon { transform: scale(1.1); }
.limit-container { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--dash-border); text-align: center; }
.limit-text { font-size: 15px; color: #fff; font-weight: 500; margin-bottom: 16px; }
.limit-progress { width: 100%; max-width: 400px; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; margin: 0 auto; overflow: hidden; }
.limit-bar { height: 100%; background: linear-gradient(90deg, #c9a96e, #e8d099); transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.promo-text { margin-top: 20px; color: var(--sub); font-size: 14px; }
.promo-text a { color: var(--gold); text-decoration: none; font-weight: 600; padding: 4px 12px; border: 1px solid var(--gold); border-radius: 20px; margin-left: 8px; transition: 0.3s; }
.promo-text a:hover { background: var(--gold); color: #000; }
@media(max-width: 768px) {
  .dash-nav { padding: 16px 20px; justify-content: space-between; }
  .dash-main { padding: 40px 20px; }
  .dash-header { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .dash-title-group h1 { font-size: 32px; flex-wrap: wrap; }
  #add-card-btn { width: 100%; justify-content: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-user { gap: 16px; }
  .user-name-box { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-user { display: none; }
  .nav-menu-toggle { display: flex !important; }
}
@media(max-width: 480px) {
  .dash-nav { padding: 12px 16px; }
  .dash-main { padding: 30px 16px; }
  .dash-title-group h1 { font-size: 26px; }
  .dash-title-group p { font-size: 14px; }
  .nav-logo { font-size: 20px; }
  .btn-logout { font-size: 13px; padding: 6px 12px; }
  .tier-badge { font-size: 10px; padding: 3px 10px; }
  .limit-text { font-size: 13px; }
  .promo-text { font-size: 13px; }
  body { cursor: default !important; }
  * { cursor: default !important; }
}

/* Mobile Responsive Styles for Inline Modals in Dashboard */
@media (max-width: 768px) {
  #pricing-modal > div {
    padding: 36px 28px;
    border-radius: 20px;
  }
  #pricing-modal > div > div:first-of-type > div:nth-child(2) {
    font-size: 28px;
  }
  #pricing-modal > div > div:nth-of-type(2) {
    padding: 20px;
  }
  #pricing-modal > div > div:nth-of-type(2) > div:first-of-type {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  #pricing-modal > div > div:nth-of-type(2) > div:nth-of-type(2) > div {
    font-size: 12px;
  }
  #pricing-modal > div > div:nth-of-type(3) > a,
  #pricing-modal > div > div:nth-of-type(3) > button {
    font-size: 14px;
    padding: 14px 20px;
  }
  
  #delete-modal-content {
    padding: 28px 24px;
    border-radius: 20px;
  }
  .modal-pulse-icon {
    width: 56px;
    height: 56px;
  }
  .modal-pulse-icon span {
    font-size: 22px;
  }
  #delete-modal-content h3 {
    font-size: 20px;
  }
  #delete-modal-content p {
    font-size: 13px;
  }
  #delete-cancel-btn, #delete-confirm-btn {
    font-size: 13px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  #pricing-modal {
    padding: 16px;
  }
  #pricing-modal > div {
    padding: 28px 20px;
    border-radius: 16px;
  }
  #pricing-modal > div > button {
    top: 16px;
    right: 16px;
    font-size: 20px;
  }
  #pricing-modal > div > div:first-of-type {
    margin-bottom: 24px;
  }
  #pricing-modal > div > div:first-of-type > div:first-child {
    font-size: 28px;
    margin-bottom: 8px;
  }
  #pricing-modal > div > div:first-of-type > div:nth-child(2) {
    font-size: 24px;
    margin-bottom: 6px;
  }
  #pricing-modal > div > div:first-of-type > div:nth-child(3) {
    font-size: 13px;
  }
  #pricing-modal > div > div:nth-of-type(2) {
    padding: 16px;
    margin-bottom: 20px;
  }
  #pricing-modal > div > div:nth-of-type(2) > div:first-of-type > div {
    padding: 10px;
  }
  #pricing-modal > div > div:nth-of-type(2) > div:first-of-type > div > div:first-child {
    font-size: 11px;
  }
  #pricing-modal > div > div:nth-of-type(2) > div:first-of-type > div > div:nth-child(2) {
    font-size: 20px;
  }
  #pricing-modal > div > div:nth-of-type(2) > div:nth-of-type(2) > div {
    font-size: 11px;
    padding-bottom: 6px;
  }
  #pricing-modal > div > div:nth-of-type(3) > a,
  #pricing-modal > div > div:nth-of-type(3) > button {
    font-size: 13px;
    padding: 12px 16px;
  }
  #pricing-modal > div > p {
    font-size: 11px;
  }
  
  #delete-modal {
    padding: 16px;
  }
  #delete-modal-content {
    padding: 24px 20px;
    border-radius: 16px;
    max-width: 320px;
  }
  .modal-pulse-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  .modal-pulse-icon span {
    font-size: 20px;
  }
  #delete-modal-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  #delete-modal-content p {
    font-size: 12px;
    margin-bottom: 24px;
  }
  #delete-cancel-btn, #delete-confirm-btn {
    font-size: 12px;
    padding: 10px 14px;
  }
}
