/* ═══════════════════════════════════════════════════════════════════════════
   PERFECT PITCH DASHBOARD STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Dashboard semantic colors */
:root {
    --bg-primary: #35332C;        /* Dark magnetite */
    --bg-secondary: #2a261f;      /* Darker variant */
    --bg-tertiary: #3a352c;       /* Slightly lighter */
    --text-primary: #e8e6e1;      /* Light text */
    --text-secondary: #a8a49b;    /* Muted text */
    --text-tertiary: #807b72;     /* Faded text */
    --border-subtle: #3a352c;     /* Subtle borders */
    --border-default: #4a453c;    /* Default borders */
}

body {
    font-family: 'Aleo', serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT STRUCTURE
   ═══════════════════════════════════════════════════════════════════════════ */

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Header */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0 var(--tmps-7);
    height: var(--tmps-10a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--tmps-7);
}

.logo-section {
    display: flex;
    align-items: center;
    margin-left: var(--tmps-6b);
}

.logo {
    height: var(--tmps-9);
    width: auto;
}

.header-center {
    display: flex;
    align-items: center;
    gap: var(--tmps-5);
    font-family: 'Aleo', serif;
    font-size: var(--tmps-6);
    color: var(--clr-labradorite);
    opacity: 0.77;
}

.quote-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: var(--tmps-12c);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--tmps-5);
    margin-right: var(--tmps-6b);
}

.header-auth {
    display: flex;
    align-items: center;
    gap: var(--tmps-4);
}

.header-user-email {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    color: var(--text-primary);
    font-weight: 500;
    opacity: 0.9;
}

.header-logout-btn {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    padding: var(--tmps-3) var(--tmps-5);
    border-radius: var(--tmps-2);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-5c);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-logout-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.header-login-link {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--tmps-3) var(--tmps-5);
    border: 1px solid var(--border-default);
    border-radius: var(--tmps-2);
    transition: all 0.2s ease;
}

.header-login-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* Main Layout */
.main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar {
    width: var(--tmps-11b);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-default);
    padding: var(--tmps-7) var(--tmps-7) var(--tmps-7) var(--tmps-7);
    display: flex;
    flex-direction: column;
    gap: var(--tmps-6);
    flex-shrink: 0;
}

.quick-actions {
    margin-top: var(--tmps-8a);
    margin-bottom: var(--tmps-8b);
}

.quick-action {
    display: flex;
    align-items: center;
    gap: var(--tmps-5);
    padding: var(--tmps-4) var(--tmps-5);
    background: transparent;
    border: 1px solid var(--clr-old-gold);
    color: var(--clr-labradorite);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: flex-start;
}

.quick-action:hover {
    background: var(--clr-old-gold);
    color: var(--clr-magnetite);
    transform: translateY(-1px);
}

.quick-action.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border-default);
    color: var(--text-tertiary);
}

.quick-action.disabled:hover {
    background: transparent;
    color: var(--text-tertiary);
    transform: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--tmps-5);
    padding: var(--tmps-4) var(--tmps-5);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--clr-old-gold);
    color: var(--clr-obsidian);
}

.nav-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: var(--tmps-4) 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT AREA
   ═══════════════════════════════════════════════════════════════════════════ */

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Welcome Messages */
.welcome-message, .welcome-back-message {
    background: var(--clr-old-gold);
    color: var(--clr-magnetite);
    padding: var(--tmps-6);
    margin: var(--tmps-6);
    border-radius: var(--tmps-3);
    font-family: 'Aleo', serif;
    font-size: var(--tmps-6a);
    line-height: 1.4;
    display: none;
}

.welcome-message.show, .welcome-back-message.show {
    display: block;
}

.welcome-title {
    font-family: 'Lora', serif;
    font-size: var(--tmps-7);
    font-weight: 600;
    margin-bottom: var(--tmps-4);
}

/* Metrics Bar */
.metrics-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--tmps-6) var(--tmps-9c);
    display: flex;
    gap: var(--tmps-8);
    flex-shrink: 0;
    overflow-x: auto;
    min-height: var(--tmps-11);
    align-items: center;
}

.metrics-left {
    display: flex;
    gap: var(--tmps-9);
    flex: 1;
    margin-top: var(--tmps-6);
}

.metrics-right {
    display: flex;
    align-items: center;
    gap: var(--tmps-9);
    flex-shrink: 0;
}

.system-status-mini {
    display: flex;
    flex-direction: column;
    gap: var(--tmps-3);
    padding: var(--tmps-4) var(--tmps-6);
    min-width: var(--tmps-11);
    opacity: 0.8;
}

.system-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-5c);
}

.system-status-label {
    color: var(--text-secondary);
}

.system-status-value {
    color: #4CAF50;
    font-weight: 500;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: var(--tmps-2);
}

.metric-value {
    font-family: 'DM Sans', serif;
    font-size: var(--tmps-6b);
    line-height: var(--tmps-7a);
    font-weight: 600;
    color: var(--clr-labradorite);
    opacity: 1;
}

.metric-label {
    font-family: 'Aleo', serif;
    font-size: var(--tmps-5b);
    font-style: italic;
    color: var(--clr-labradorite);
    opacity: 0.77;
}

.metric-change {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-5b);
    font-weight: 500;
}

.metric-change.positive {
    color: #4CAF50;
    opacity: 0.83;
}

.metric-change.neutral {
    color: var(--clr-old-gold);
    opacity: 0.83;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--tmps-3);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-right: var(--tmps-6);
}

.live-dot {
    width: var(--tmps-4a);
    height: var(--tmps-4a);
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
    margin-right: var(--tmps-4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════════════════ */

.main-content {
    flex: 1;
    display: flex;
    gap: var(--tmps-6b);
    overflow: hidden;
}

.content-primary {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: var(--tmps-6);
    overflow: hidden;
}

.content-secondary {
    background-color: var(--clr-magnetite);
    flex: 0 0 var(--tmps-12a);
    display: flex;
    flex-direction: column;
    gap: var(--tmps-6);
    overflow-y: auto;
    max-height: 100%;
}

.content-section {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: var(--tmps-6);
    flex: 1;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--tmps-6c);
    padding-left: var(--tmps-6c);
    padding-right: var(--tmps-6c);
    flex-shrink: 0;
}

.section-title-group {
    display: flex;
    align-items: center;
    gap: var(--tmps-4);
    margin-left: var(--tmps-6);
}

.section-title {
    font-family: 'Aleo', sans-serif;
    font-size: var(--tmps-7);
    font-weight: 600;
    color: var(--text-primary);
}

.section-count {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: var(--tmps-1) var(--tmps-3);
    border-radius: var(--tmps-2);
    margin-top: 3.3px;
    margin-left: var(--tmps-5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   REPORTS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.report-list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    margin: var(--tmps-6);
    margin-top: var(--tmps-6b);
}

.report-item {
    display: grid;
    grid-template-columns: var(--tmps-8) minmax(300px, 500px) auto;
    grid-template-rows: auto;
    gap: var(--tmps-6);
    padding: var(--tmps-6c);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
    align-items: center;
}

.report-item:hover {
    background: var(--bg-secondary);
    padding: var(--tmps-7c);
    border-bottom: 1px solid transparent;
    box-shadow: 0 var(--tmps-1) var(--tmps-4) rgba(53, 51, 44, 0.06);
    transform: translateY(-1px);
}

.report-status {
    width: var(--tmps-5);
    height: var(--tmps-5);
    border-radius: 50%;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-left: var(--tmps-4);
}

.status-ready { background: var(--clr-cobalt-dawn); }
.status-processing { 
    background: var(--clr-old-gold); 
    animation: pulse 2s infinite;
}
.status-completed { background: #4CAF50; }
.status-failed { background: #F44336; }

.report-info {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: var(--tmps-3);
    min-width: 0;
    align-self: start;
}

.report-name {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6a);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.report-meta {
    display: flex;
    flex-direction: column;
    gap: var(--tmps-2);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
}

.report-id {
    font-family: 'Fira Code';
    font-size: var(--tmps-6);
    font-weight: 400;
    color: var(--clr-obsidian);
    background: var(--text-tertiary);
    opacity: 0.66;
    padding: var(--tmps-5) var(--tmps-6);
    border-radius: var(--tmps-1);
    width: fit-content;
    margin-top: var(--tmps-5a);
    margin-bottom: var(--tmps-5a);
}

.report-timestamp {
    font-family: 'Aleo', sans-serif;
    font-style: italic;
    font-size: var(--tmps-5c);
    color: var(--text-secondary);
}

.processing-message {
    font-family: 'Aleo', sans-serif;
    color: var(--clr-old-gold);
    font-style: italic;
    font-size: var(--tmps-6);
    margin-top: var(--tmps-3);
    line-height: 1.3;
}

.report-progress {
    grid-column: 3;
    grid-row: 1;
    width: var(--tmps-11a);
    justify-self: right;
    margin-right: var(--tmps-6);
}

.progress-bar {
    width: 100%;
    height: var(--tmps-4);
    background: var(--bg-tertiary);
    border-radius: var(--tmps-2);
    overflow: hidden;
    margin-bottom: var(--tmps-3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-cobalt-dawn), var(--clr-old-gold), var(--clr-deep-clay));
    border-radius: var(--tmps-2);
    transition: width 0.5s ease;
}

.progress-text {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    margin-top: var(--tmps-5);
}

.report-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: var(--tmps-6c);
    opacity: 0;
    transition: opacity 0.15s ease;
    align-self: center;
    justify-self: right;
    margin-right: var(--tmps-6);
}

.report-item:hover .report-actions {
    opacity: 1;
}

.action-btn {
    padding: var(--tmps-5b) var(--tmps-6a);
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-5c);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--tmps-3);
    white-space: nowrap;
}

.action-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.action-btn.primary {
    background: var(--clr-old-gold);
    color: var(--clr-magnetite);
}

.action-btn.primary:hover {
    background: var(--clr-deep-clay);
    color: var(--clr-porcelain);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BILLING SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.purchase-options {
    display: flex;
    gap: var(--tmps-8);
    margin: var(--tmps-6);
    margin-top: var(--tmps-6b);
    justify-content: center;
}

.purchase-option {
    background: var(--bg-secondary);
    border: 1.618px solid var(--border-default);
    padding: var(--tmps-8);
    flex: 1;
    max-width: var(--tmps-12a);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.purchase-option:hover {
    background: rgba(26, 68, 26, 0.15); /* Greenish semi-transparent */
    border: 1.618px dashed #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 var(--tmps-4) var(--tmps-8) rgba(0,0,0,0.1);
    backdrop-filter: blur(5px); /* Optional: adds glass effect */
}

.option-name {
    font-family: 'Lora', serif;
    font-size: var(--tmps-7);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--tmps-5);
}

.option-price {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-8);
    font-weight: 700;
    color: var(--clr-old-gold);
    margin-bottom: var(--tmps-6);
}

.option-features {
    list-style: none;
    margin-bottom: var(--tmps-7);
    padding: 0;
}

.option-features li {
    font-family: 'Aleo', serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
    margin-bottom: var(--tmps-3);
    padding-left: var(--tmps-6);
    position: relative;
    text-align: left;
}

.option-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.purchase-btn {
    background: var(--clr-deep-clay);
    color: var(--clr-porcelain);
    border: none;
    padding: var(--tmps-6) var(--tmps-8);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.purchase-btn:hover {
    background: var(--clr-cobalt-dawn);
    transform: translateY(-1px);
}

.purchase-btn:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

.payment-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tmps-4);
    margin: var(--tmps-5) auto;
    padding: var(--tmps-6);
    max-width: var(--tmps-14);
    text-align: center;
}

.payment-icons-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--tmps-6);
    flex-wrap: wrap;
}

.payment-card-icon {
    height: var(--tmps-7a);
    width: auto;
    opacity: 0.8;
    transition: all 0.2s ease;
    object-fit: contain;
}

.payment-card-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.payment-info-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tmps-2);
    margin-top: var(--tmps-3);
}

.payment-security-line {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-5c);
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: var(--tmps-5a);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-card {
    background: transparent;  
    padding: var(--tmps-7);
    border: 1px solid var(--border-subtle);
    margin-top: var(--tmps-6b);
}

.sidebar-card:last-child {
    margin-bottom: 0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--tmps-4);
    margin-bottom: var(--tmps-6);
}

.card-header svg {
    width: var(--tmps-6);
    height: var(--tmps-6);
    opacity: 0.8;
}

.card-title {
    font-family: 'Aleo', sans-serif;
    font-size: var(--tmps-6c);
    font-weight: 600;
    color: var(--text-primary);
}

.card-content {
    font-family: 'Aleo', serif;
    font-size: var(--tmps-6a);
    color: var(--text-secondary);
    line-height: 1.5;
}

.activity-item, .update-item {
    display: flex;
    align-items: flex-start;
    gap: var(--tmps-5);
    padding: var(--tmps-5) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.activity-item:last-child, .update-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-item:first-child, .update-item:first-child {
    padding-top: 0;
}

.activity-dot, .update-dot {
    width: var(--tmps-4);
    height: var(--tmps-4);
    border-radius: 50%;
    background: var(--clr-deep-clay);
    margin-top: var(--tmps-2);
    transform: translateY(9px);  /* Move down by exact pixels */
    flex-shrink: 0;
}

.activity-content, .update-content {
    flex: 1;
    min-width: 0;
}

.activity-text, .update-text {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6a);
    color: var(--text-primary);
    margin-bottom: var(--tmps-3);
    line-height: 1.4;
}

.activity-time, .update-date {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUCCESS MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.success-modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    padding: var(--tmps-8);
    max-width: var(--tmps-13);
    width: 100%;
    text-align: center;
    border-radius: var(--tmps-4);
}

.modal-title {
    font-family: 'Aleo', serif;
    font-size: var(--tmps-7a);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--tmps-5);
}

.modal-text {
    font-family: 'Aleo', serif;
    font-size: var(--tmps-6a);
    color: var(--text-primary);
    margin-bottom: var(--tmps-7);
    line-height: 1.6;
}

.modal-order-details {
    background: var(--bg-secondary);
    padding: var(--tmps-6a);
    margin: var(--tmps-6) 0;
    border-radius: var(--tmps-3);
}

.modal-order-number {
    font-family: 'Fira Code', monospace;
    font-size: var(--tmps-6);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--tmps-5);
}

.modal-order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--tmps-3);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
}

.modal-order-row:last-child {
    margin-bottom: 0;
    font-weight: 600;
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--tmps-3);
}

.modal-actions {
    display: flex;
    gap: var(--tmps-5);
    justify-content: center;
    margin-top: var(--tmps-7);
}

.modal-btn {
    padding: var(--tmps-5) var(--tmps-7);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    border-radius: var(--tmps-3);
}

.modal-btn.primary {
    background: var(--clr-deep-clay);
    color: white;
}

.modal-btn.primary:hover {
    background: var(--clr-magnetite);
}

.modal-btn.secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--clr-deep-clay);
}

.modal-btn.secondary:hover {
    background: var(--clr-magnetite);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUPPORT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

/* Support Content - Using same pattern as report-list and purchase-options */
.support-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    margin: var(--tmps-6);
    margin-top: var(--tmps-6b);
}

/* Form Container - Matching Dashboard Style */
.support-form-container {
    background: var(--bg-secondary);
    border: 1.618px solid var(--border-default);
    padding: var(--tmps-8);
    max-width: none;
    margin: 0 auto;
    width: 100%;
}

.support-form-container h3 {
    font-family: 'Lora', serif;
    font-size: var(--tmps-6b);
    color: var(--text-primary);
    margin-bottom: var(--tmps-4);
}

.support-intro {
    font-family: 'Aleo', serif;
    font-size: var(--tmps-6);
    color: var(--text-secondary);
    margin-bottom: var(--tmps-7);
    line-height: 1.5;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: var(--tmps-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--tmps-3);
}

.form-group label {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label[for="support-send-copy"] {
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Form Elements - Matching Dashboard Style */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    padding: var(--tmps-5) var(--tmps-6);
    background: var(--bg-primary);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-family: 'Aleo', serif;
    font-size: var(--tmps-6);
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8a49b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--tmps-4) center;
    padding-right: var(--tmps-8);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--clr-deep-clay);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-deep-clay);
    box-shadow: 0 0 0 3px rgba(152, 79, 58, 0.1);
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="checkbox"] {
    margin-right: var(--tmps-3);
    width: var(--tmps-5);
    height: var(--tmps-5);
    cursor: pointer;
    accent-color: var(--clr-deep-clay);
}

.form-actions {
    margin-top: var(--tmps-5);
}

/* Submit Button - Matching Dashboard Style */
.support-submit-btn {
    background: var(--clr-deep-clay);
    color: var(--clr-porcelain);
    border: none;
    padding: var(--tmps-5) var(--tmps-7);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tmps-3);
    min-width: 200px;
}

.support-submit-btn:hover:not(:disabled) {
    background: var(--clr-cobalt-dawn);
    transform: translateY(-1px);
}

.support-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Status Messages - Matching Dashboard Style */
.form-status {
    margin-top: var(--tmps-5);
    padding: var(--tmps-5);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--tmps-6);
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.05);
    border: 1px dashed #4CAF50;
    color: #4CAF50;
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.05);
    border: 1px dashed #F44336;
    color: #F44336;
}

/* Loading spinner */
.btn-loading {
    display: none;
    align-items: center;
    gap: var(--tmps-3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS & EFFECTS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.processing-shimmer {
    position: relative;
    overflow: hidden;
}

.processing-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: var(--tmps-6);
    height: var(--tmps-6);
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .header-center {
        display: none;
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    .app-container {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    .content-area {
        overflow: visible;
    }
    
    .content-primary {
        overflow: visible;
    }
    
    .content-secondary {
        overflow: visible;
        flex-direction: column;
        background-color: var(--clr-magnetite);
    }
    
    .report-list {
        overflow: visible;
    }
    
    .sidebar {
        width: 100%;
        flex-direction: row;
        padding: var(--tmps-5);
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        overflow-x: auto;
        gap: var(--tmps-5);
        min-height: var(--tmps-10);
    }
    
    .sidebar nav {
        display: flex;
        gap: var(--tmps-4);
        flex-shrink: 0;
    }
    
    .quick-actions {
        margin-bottom: 0;
        margin-right: var(--tmps-6);
        flex-shrink: 0;
        margin-top: 0;
    }
    
    .nav-divider {
        width: 1px;
        height: var(--tmps-7);
        margin: 0 var(--tmps-4);
        flex-shrink: 0;
    }
    
    .purchase-options {
        flex-direction: column;
        gap: var(--tmps-6);
    }
    
    .purchase-option {
        max-width: none;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    .payment-icons-bar {
        gap: var(--tmps-3);
    }
    
    .payment-card-icon {
        height: var(--tmps-5c);
    }
    
    .payment-security-line {
        font-size: var(--tmps-5);
        text-align: center;
    }
    
    .report-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        gap: var(--tmps-4);
        padding: var(--tmps-6) 0;
    }
    
    .report-item:hover {
        margin: 0;
        padding: var(--tmps-6);
    }
    
    .report-status {
        grid-column: 1;
        grid-row: 1;
        margin-top: 0;
    }
    
    .report-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .report-progress {
        grid-column: 3;
        grid-row: 2;
        width: 100%;
        margin-top: var(--tmps-4);
        margin-right: var(--tmps-7);
        justify-self: start;
    }

    .report-actions {
        grid-column: 3;
        grid-row: 3;
        opacity: 1;
        justify-content: flex-start;
        margin-top: var(--tmps-4);
        margin-right: var(--tmps-7c);
    }
    
    .action-btn {
        padding: var(--tmps-4);
        font-size: var(--tmps-5c);
    }
    
    /* Support section mobile styles */
    .support-content {
        margin: var(--tmps-5);
    }
    
    .support-form-container {
        padding: var(--tmps-5);
    }
}