:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #0ea5e9;
    --dark: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --text-muted: #64748b;
    --sidebar-width: 16rem;
    --radius: 0.75rem;
    --radius-sm: 0.5rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #f1f5f9;
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.navbar-brand svg {
    color: var(--primary);
}

.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.landing-hero {
    padding: 6rem 0;
}

.landing-hero h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

.feature-cards {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9375rem;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--dark);
}

.sidebar-brand svg {
    color: var(--primary);
}

.sidebar-logo {
    height: 32px;
    width: auto;
}

.navbar-logo {
    height: 36px;
    width: auto;
}

.sidebar-nav {
    flex: 1;
    padding: 0.75rem;
    overflow-y: auto;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    margin-bottom: 1px;
    transition: all 0.15s;
    font-size: 0.875rem;
}

.sidebar-nav .nav-link:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.sidebar-nav .nav-link.active {
    background: var(--primary);
    color: white;
}

.sidebar-nav .nav-link svg {
    width: 18px;
    height: 18px;
}

.sidebar-section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0.75rem 0.75rem 0.375rem;
    margin-top: 0.25rem;
}

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 1.5rem 2rem;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.content-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.125rem;
}

.content-header .text-muted {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.breadcrumb {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.alerts-container {
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.bg-primary-subtle {
    background: #e0e7ff;
    color: var(--primary);
}

.bg-success-subtle {
    background: #d1fae5;
    color: var(--success);
}

.bg-info-subtle {
    background: #e0f2fe;
    color: var(--info);
}

.bg-warning-subtle {
    background: #fef3c7;
    color: var(--warning);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.project-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.project-card-header {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
}

.project-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.project-logo-placeholder {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.status-draft {
    background: #f1f5f9;
    color: var(--secondary);
}

.status-active {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-approved {
    background: #d1fae5;
    color: #047857;
}

.status-completed {
    background: #e0e7ff;
    color: var(--primary);
}

.project-card-body {
    padding: 1.25rem;
}

.project-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.project-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.icon-sm {
    width: 14px;
    height: 14px;
}

.project-card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

.table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.table td {
    font-size: 0.875rem;
    vertical-align: middle;
}

.list-group-item {
    font-size: 0.875rem;
    border-color: var(--border);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.form-container {
    max-width: 640px;
}

.project-form {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.form-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    border: 1px solid var(--border);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.upload-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.upload-label svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}

.upload-text {
    font-weight: 500;
    color: var(--text);
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-preview img {
    max-width: 200px;
    max-height: 150px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.form-actions {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #f8fafc;
    border-radius: 0 0 var(--radius) var(--radius);
}

.card {
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: white;
}

.card-header h5 {
    font-size: 0.875rem;
}

.card-title {
    font-size: 0.9375rem;
    font-weight: 600;
}

.card-body {
    padding: 1.25rem;
}

.logo-display {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-display img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.logo-placeholder {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.logo-upload-zone {
    background: #f8fafc;
    border-radius: var(--radius);
}

.upload-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.upload-dropzone:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

.upload-dropzone svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item dt {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.info-item dt svg {
    width: 14px;
    height: 14px;
}

.info-item dd {
    margin: 0;
}

.brand-analysis {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analysis-section h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.color-swatches {
    display: flex;
    gap: 0.5rem;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f5f9;
    color: var(--text);
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

.insights-list {
    margin: 0;
    padding-left: 1.25rem;
}

.insights-list li {
    margin-bottom: 0.5rem;
}

.brand-summary-card {
    background: white;
    border: 1px solid var(--border);
}

.brand-summary-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
}

.brand-summary-card .card-header h3 {
    display: flex;
    align-items: center;
}

.brand-summary-card .card-header svg {
    color: var(--primary);
}

.summary-section {
    margin-bottom: 1.5rem;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-section h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-section h5 svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.summary-section p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.use-case-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style-type: disc;
}

.use-case-list li {
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.5;
}

.use-case-list li:last-child {
    margin-bottom: 0;
}

.use-case-list li::marker {
    color: var(--primary);
}

.empty-state-inline {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-state-inline svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-inline p {
    margin: 0;
}

.designs-grid {
    display: grid;
    gap: 1.5rem;
}

.design-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    background: #fafafa;
}

.design-card.liked {
    border-color: var(--danger);
    background: #fef2f2;
}

.design-card.approved {
    border-color: var(--success);
    background: #f0fdf4;
}

.design-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.design-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.design-header h4 {
    margin: 0;
    font-size: 1.125rem;
}

.visibility-toggle {
    margin: 0;
}

.visibility-toggle .form-check {
    margin: 0;
    padding-left: 2.5em;
}

.visibility-toggle .form-check-input {
    cursor: pointer;
}

.visibility-toggle .form-check-label {
    cursor: pointer;
}

.design-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.design-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.design-badges .badge svg {
    width: 12px;
    height: 12px;
}

.design-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.design-details {
    display: grid;
    gap: 0.75rem;
}

.detail-item {
    font-size: 0.875rem;
}

.detail-item strong {
    color: var(--text);
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.feedback-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.feedback-section h5 {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.feedback-item {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.feedback-message {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.ai-summary {
    background: #e0e7ff;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

.ai-summary h6 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.ai-summary h6 svg {
    width: 16px;
    height: 16px;
}

.client-link-box {
    display: flex;
    gap: 0.5rem;
}

.client-link-box input {
    flex: 1;
    font-size: 0.875rem;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 0.75rem;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon svg {
    width: 16px;
    height: 16px;
}

.activity-view {
    background: #e0f2fe;
    color: var(--info);
}

.activity-like {
    background: #fef2f2;
    color: var(--danger);
}

.activity-approve {
    background: #d1fae5;
    color: var(--success);
}

.activity-feedback {
    background: #fef3c7;
    color: var(--warning);
}

.activity-content p {
    margin: 0;
    font-size: 0.875rem;
}

.danger-zone {
    border-color: #fecaca;
}

.danger-zone .card-header {
    background: #fef2f2;
    color: var(--danger);
}

.client-portal {
    min-height: 100vh;
    background: #ffffff;
}

.client-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.client-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.client-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.client-header-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.header-brand-logo {
    height: 40px;
    width: auto;
}

.powered-by-text {
    font-size: 0.5625rem;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.client-logo {
    height: 64px;
    max-width: 150px;
    object-fit: contain;
}

.client-header-text h1 {
    margin: 0;
    font-size: 1.5rem;
}

.client-header-text p {
    margin: 0;
    color: var(--text-muted);
}

.client-main {
    padding: 3rem 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    min-height: 100vh;
}

.review-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    padding: 2rem 1.5rem;
}

.review-intro h2 {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.review-intro p {
    color: #6e6e73;
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* Brand Colors Section - Client Portal */
.brand-colors-section {
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.brand-colors-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.brand-colors-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1d1d1f;
}

.brand-colors-header i,
.brand-colors-header svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.brand-colors-header small {
    font-weight: 400;
    margin-left: 0.25rem;
}

.brand-colors-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.color-swatches-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-swatch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-swatch-box {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 2px solid rgba(0,0,0,0.08);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-swatch-box:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.color-codes {
    font-family: 'SF Mono', Menlo, Monaco, 'Courier New', monospace;
    font-size: 0.75rem;
    color: #86868b;
    line-height: 1.6;
}

/* Mini swatches for individual designs */
.design-color-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
}

.mini-swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.spec-item.spec-colors {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-item.spec-colors .design-color-swatches {
    margin-top: 0.25rem;
}

.spec-item.spec-colors .color-text {
    font-size: 0.8125rem;
    color: #86868b;
    margin-top: 0.25rem;
}

.detail-row.detail-row-colors {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.detail-value-colors {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.detail-value-colors .color-text {
    font-size: 0.8125rem;
    color: var(--text);
}

.designs-gallery {
    display: grid;
    gap: 2rem;
}

.client-design-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.client-design-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .client-design-card {
        grid-template-columns: 1fr;
    }
}

.client-design-card.liked {
    border-color: var(--danger);
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(220,53,69,0.15);
}

.client-design-card.approved {
    border-color: var(--success);
    border-width: 3px;
    box-shadow: 0 4px 20px rgba(40,167,69,0.2);
}

/* Product Section Headers */
.product-section-header {
    padding: 0.75rem 0;
    border-bottom: 2px solid #f0f0f5;
    margin-bottom: 1.5rem !important;
}

.product-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.product-section-header .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 980px;
}

.design-visual {
    position: relative;
}

.design-mockup {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
}

.design-mockup.has-image {
    background: #f5f5f7;
}

.design-mockup .mockup-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.mockup-img.lightbox-trigger {
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}

.mockup-img.lightbox-trigger:hover {
    opacity: 0.92;
}

.lightbox-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.85;
    z-index: 2;
}

.lightbox-hint svg {
    width: 16px;
    height: 16px;
}

.design-mockup.has-image .design-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.25rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2;
}

.mockup-pending {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
}

.mockup-pending svg {
    width: 48px;
    height: 48px;
}

/* Inspiration Section - Enhanced Standout Design */
.inspiration-section {
    margin-bottom: 3.5rem;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 50%, #f5fff8 100%);
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.inspiration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9500, #ff6b6b, #007aff);
}

.inspiration-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.inspiration-section-subtitle {
    font-size: 1.125rem;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Use Cases - Horizontal scroll pills */
.use-cases-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.use-cases-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1d1d1f;
    margin-bottom: 1.25rem;
    text-align: center;
}

.use-cases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
}

.use-case-tag {
    background: white;
    color: #1d1d1f;
    padding: 0.625rem 1.25rem;
    border-radius: 980px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    cursor: default;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.use-case-tag:hover {
    background: #1d1d1f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Ideas Grid - Enhanced Card Style */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.inspiration-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: relative;
}

.inspiration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* Giveaway Ideas Card - Orange accent */
.inspiration-card.giveaway-card {
    border-top: 4px solid #ff9500;
}

.inspiration-card.giveaway-card .inspiration-header {
    background: linear-gradient(180deg, rgba(255,149,0,0.08) 0%, transparent 100%);
}

/* Next Design Ideas Card - Blue accent */
.inspiration-card.next-design-card {
    border-top: 4px solid #007aff;
}

.inspiration-card.next-design-card .inspiration-header {
    background: linear-gradient(180deg, rgba(0,122,255,0.08) 0%, transparent 100%);
}

.inspiration-header {
    padding: 1.5rem 1.5rem 0.75rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.inspiration-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.inspiration-header .card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inspiration-header .card-icon svg {
    width: 16px;
    height: 16px;
    color: white;
}

.giveaway-card .card-icon {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
}

.next-design-card .card-icon {
    background: linear-gradient(135deg, #007aff, #0055d4);
}

.inspiration-icon {
    display: none;
}

.inspiration-content {
    padding: 0.5rem 1.5rem 1.5rem;
}

/* Idea List - Enhanced Style */
.idea-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.idea-list li {
    position: relative;
    padding: 0.875rem 0 0.875rem 1.5rem;
    color: #1d1d1f;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 400;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.idea-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.idea-list li::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 1.125rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.giveaway-card .idea-list li::before {
    background: #ff9500;
}

.next-design-card .idea-list li::before {
    background: #007aff;
}

/* Remove old color dot pseudo-elements */
.ideas-grid .inspiration-card:first-child .inspiration-header h3::before,
.ideas-grid .inspiration-card:last-child .inspiration-header h3::before {
    display: none;
}

@media (max-width: 768px) {
    .ideas-grid {
        grid-template-columns: 1fr;
    }
    
    .inspiration-section {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .inspiration-section-title {
        font-size: 1.75rem;
    }
}

.design-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
}

.approved-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.approved-badge svg {
    width: 18px;
    height: 18px;
}

.design-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.design-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.design-desc {
    color: #6e6e73;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.design-specs {
    background: linear-gradient(135deg, #f8f9ff 0%, #f5f5f7 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.spec-item {
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    color: #1d1d1f;
}

.spec-item strong {
    color: #6e6e73;
    font-weight: 500;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.mockup-details {
    font-size: 0.875rem;
    color: #6e6e73;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 10px;
}

.mockup-details strong {
    color: #1d1d1f;
    font-weight: 600;
}

.design-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.design-actions .btn {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.design-actions .btn:hover {
    transform: translateY(-1px);
}

.feedback-form h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.previous-feedback {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.previous-feedback h5 {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.feedback-bubble {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.feedback-bubble p {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
}

.feedback-bubble small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.no-designs {
    text-align: center;
    padding: 6rem 2rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.no-designs svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.no-designs h3 {
    margin-bottom: 0.5rem;
}

.no-designs p {
    color: var(--text-muted);
}

.client-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
    background: #f8fafc;
}

.client-footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-text {
    color: #86868b;
    font-size: 0.8125rem;
}

.footer-logo {
    height: 24px;
    width: auto;
    opacity: 0.85;
}

/* Designer Contact Modal */
.designer-contact-info {
    padding: 0.5rem;
}

.designer-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.contact-option svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.125rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-value:hover {
    color: var(--primary);
}

.designer-form-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.designer-form-divider::before,
.designer-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.designer-form-divider span {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.activity-table-wrapper {
    overflow-x: auto;
}

.activity-table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.activity-table td {
    vertical-align: middle;
}

.activity-time {
    display: block;
}

.activity-time-small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.activity-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.activity-type-badge svg {
    width: 14px;
    height: 14px;
}

.activity-type-badge.activity-view {
    background: #e0f2fe;
    color: var(--info);
}

.activity-type-badge.activity-like,
.activity-type-badge.activity-unlike {
    background: #fef2f2;
    color: var(--danger);
}

.activity-type-badge.activity-approve {
    background: #d1fae5;
    color: var(--success);
}

.activity-type-badge.activity-feedback {
    background: #fef3c7;
    color: var(--warning);
}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.error-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--danger);
}

.error-icon svg {
    width: 40px;
    height: 40px;
}

.error-content h1 {
    margin-bottom: 0.75rem;
}

.error-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Lightbulb Ideas Section */
.lightbulb-section {
    background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 100%);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
}

.lightbulb-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #92400e;
    margin-bottom: 1rem;
}

.lightbulb-section h4 svg {
    width: 18px;
    height: 18px;
}

.lightbulb-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #78350f;
}

.lightbulb-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.lightbulb-list li:last-child {
    margin-bottom: 0;
}

/* Strategy Notes Section */
.strategy-section {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.strategy-section:last-child {
    margin-bottom: 0;
}

.strategy-section h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.strategy-section p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

/* Product Specifications Section */
.product-specs {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 1rem;
}

.specs-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0369a1;
    margin-bottom: 0.75rem;
}

.specs-header svg {
    width: 16px;
    height: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.spec-item {
    background: white;
    border-radius: var(--radius-sm);
    padding: 0.625rem;
    text-align: center;
    border: 1px solid #e0f2fe;
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.spec-value {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
}

.add-on-suggestion {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #fef3c7;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.add-on-suggestion svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 576px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Specs Box for Client Portal */
.product-specs-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.spec-box {
    background: white;
    border-radius: var(--radius-sm);
    padding: 0.625rem;
    text-align: center;
    border: 1px solid #e0f2fe;
}

/* Mockup Image Styles */
.mockup-image-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.mockup-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mockup-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.mockup-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.mockup-placeholder-content svg {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

.mockup-placeholder-content p {
    margin: 0;
    font-size: 0.875rem;
}

/* Subject Line Options */
.subject-line-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-line-item {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: #92400e;
    font-weight: 500;
}

.subject-line-item:last-child {
    margin-bottom: 0;
}

/* Workflow Stepper */
.workflow-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.step.pending .step-icon {
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
}

.step.active .step-icon {
    background: #dbeafe;
    color: var(--primary);
    border: 2px solid var(--primary);
    animation: pulse 2s infinite;
}

.step.completed .step-icon {
    background: var(--success);
    color: white;
    border: 2px solid var(--success);
}

.step.completed .step-icon svg {
    width: 18px;
    height: 18px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step.completed .step-label {
    color: var(--success);
}

.step-connector {
    width: 60px;
    height: 3px;
    background: #e2e8f0;
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.step-connector.completed {
    background: var(--success);
}

@media (max-width: 768px) {
    .workflow-stepper {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step-connector {
        width: 30px;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
}

.version-controls {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.version-history {
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.version-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.version-item.current {
    background: #f0f9ff;
    border-color: var(--primary);
}

.version-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.version-number {
    font-weight: 600;
    color: var(--text);
}

.version-suggestion {
    flex-basis: 100%;
    font-style: italic;
}

.version-actions {
    display: flex;
    gap: 0.25rem;
}

.version-actions .btn-sm {
    padding: 0.2rem 0.4rem;
}

.version-actions .btn-sm svg {
    width: 14px;
    height: 14px;
}

/* Hidden design cards - client portal */
.hidden-designs-section {
    border-top: 2px solid #e2e8f0;
    padding-top: 2rem;
}

.hidden-design-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s ease;
}

.hidden-design-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.hidden-design-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #94a3b8;
}

.hidden-design-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.hidden-design-info {
    padding: 1rem;
}

.hidden-design-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.hidden-design-highlight {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 1rem;
    min-height: 2.8em;
}

/* Use case and design ideas lists */
.use-case-list,
.design-ideas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-list li,
.design-ideas-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.use-case-list li:last-child,
.design-ideas-list li:last-child {
    margin-bottom: 0;
}

.design-ideas-list li {
    border-left-color: var(--success);
}

/* Locked/hidden design cards in client portal */
.client-design-card.locked-design {
    opacity: 0.85;
}

.locked-mockup {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
    position: relative;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 116, 139, 0.15);
}

.locked-overlay svg {
    width: 64px;
    height: 64px;
    color: #94a3b8;
    opacity: 0.7;
}

.locked-info {
    background: #f8fafc;
}

.locked-info h3 {
    color: #475569;
}

.client-design-card.locked-design:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.client-design-card.locked-design:hover .locked-overlay svg {
    opacity: 1;
    color: var(--primary);
}

/* Concept card for designs without mockups */
.concept-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: var(--radius) var(--radius) 0 0;
}

.concept-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    max-width: 90%;
}

.concept-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.concept-highlight {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.concept-request-btn {
    background: #fff !important;
    color: #1e293b !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.concept-request-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: #f8fafc !important;
}

.concept-request-btn svg {
    width: 20px;
    height: 20px;
}

.hidden-design {
    opacity: 0.9;
}

.hidden-design:hover {
    opacity: 1;
}

/* Concept Actions Panel - Below concept card */
.concept-actions-panel {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 1rem;
}

.concept-actions-panel .design-actions {
    margin-bottom: 1rem;
}

.feedback-compact h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feedback-compact textarea {
    font-size: 0.875rem;
}

.feedback-compact .btn {
    font-size: 0.875rem;
}

.concept-actions-panel .previous-feedback {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.concept-actions-panel .previous-feedback h6 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Design Details List - Clean rows */
.design-details-list {
    margin-top: 1rem;
}

.detail-row {
    display: flex;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.highlight {
    background: #f0fdf4;
    margin: 0 -0.5rem;
    padding: 0.625rem 0.5rem;
    border-radius: var(--radius-sm);
    border-bottom: none;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 110px;
    flex-shrink: 0;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--dark);
    line-height: 1.5;
}


/* Floating Feedback Tab */
.feedback-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: var(--primary);
    color: white;
    padding: 1rem 0.5rem;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.2s;
}

.feedback-tab:hover {
    background: var(--primary-dark);
    padding-left: 0.75rem;
}

.feedback-tab svg {
    width: 16px;
    height: 16px;
}

/* Feedback Modal Enhancements */
#feedbackModal .btn-check:checked + .btn-outline-danger {
    background-color: var(--danger);
    color: white;
}

#feedbackModal .btn-check:checked + .btn-outline-primary {
    background-color: var(--primary);
    color: white;
}

/* Feedback List Page */
.feedback-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    transition: box-shadow 0.2s;
}

.feedback-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feedback-card.priority-high {
    border-left: 4px solid var(--danger);
}

.feedback-card.priority-medium {
    border-left: 4px solid var(--warning);
}

.feedback-card.priority-low {
    border-left: 4px solid var(--success);
}

.feedback-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.feedback-type-badge.bug {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.feedback-type-badge.feature {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Product Type Selector */
.product-type-selector {
    margin-bottom: 1rem;
}

.product-option .btn-check:checked + .btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.product-option .btn-check:checked + .btn .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.product-option .btn-check:checked + .btn .product-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.product-option .btn {
    transition: all 0.2s ease;
    min-height: 150px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

.product-option .btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.product-option .btn:hover .product-icon-wrapper {
    background: rgba(99, 102, 241, 0.15);
}

.product-name {
    font-size: 0.95rem;
    text-align: center;
}

/* Product Type Badge */
.product-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-type-badge.cloth {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.product-type-badge.sticker {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.product-type-badge.pouch {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.product-type-badge.webcam_sticker {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.product-type-badge.towel {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.product-type-badge.bundle {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    color: #8b5cf6;
}

/* Product Section Header */
.product-section-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.product-section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-section-header svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

/* ===================== Design Image Lightbox ===================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 20, 0.94);
    z-index: 2000;
    flex-direction: column;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.lightbox-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
}

.lightbox-title span#lightboxDesignTitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40vw;
}

.lightbox-counter {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    flex-shrink: 0;
}

.lightbox-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lightbox-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.625rem;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.lightbox-icon-btn:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

.lightbox-icon-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.lightbox-icon-btn svg {
    width: 16px;
    height: 16px;
}

.lightbox-close svg {
    width: 18px;
    height: 18px;
}

.lightbox-body {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
}

.lightbox-single-view {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.lightbox-image-wrap:active {
    cursor: grabbing;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    border-radius: 8px;
    background: #fff;
}

.lightbox-compare-view {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 1rem;
}

.lightbox-compare-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    height: 100%;
}

.lightbox-version-select {
    max-width: 260px;
    background: rgba(255,255,255,0.9);
}

.lightbox-compare-pane .lightbox-image-wrap {
    flex: 1;
    cursor: default;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.15s ease;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.lightbox-nav svg {
    width: 26px;
    height: 26px;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-hint-text {
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
    padding: 0.5rem 0 1rem;
    flex-shrink: 0;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox-body {
        padding: 0 2.5rem;
    }
    .lightbox-title span#lightboxDesignTitle {
        max-width: 30vw;
    }
    .lightbox-compare-view {
        flex-direction: column;
        overflow-y: auto;
    }
    .lightbox-topbar-actions {
        flex-wrap: wrap;
    }
    .lightbox-icon-btn span {
        display: none;
    }
    .lightbox-nav {
        width: 38px;
        height: 38px;
    }
    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }
}
