/**
 * css/layout.css
 * --------------
 * Global page wrapper, 3-column dashboard grid layout, card containers,
 * toast notification overlays, and responsive breakpoints.
 */

/* Container & Layout */
    /* Container & Layout */
    .app-container {
      max-width: 1380px;
      margin: 0 auto;
      padding: 24px 20px 80px 20px;
    }


    /* Main Grid Layout */
    .dashboard-grid {
      display: grid;
      grid-template-columns: 340px 1fr 380px;
      gap: 24px;
    }

    @media (max-width: 1200px) {
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Cards Common */
    .card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: 18px;
      padding: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
      display: flex;
      flex-direction: column;
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border-color);
    }

    .card-title {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: -0.01em;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .card-title span.tag {
      font-size: 10px;
      font-family: var(--font-mono);
      padding: 2px 6px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
    }


/* Modal / Toast Notifications */
    .toast-notice {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: #111827;
      border: 1px solid var(--accent-emerald);
      color: #fff;
      padding: 12px 20px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 10px;
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 999;
    }

    .toast-notice.show {
      transform: translateY(0);
      opacity: 1;
    }