/*
==================================================
FILE: static/css/styles.css
==================================================
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Navigation */
.navbar {
    background: #1f2937;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
}

.nav-logo { font-size: 24px; }

.nav-links { display: flex; gap: 5px; }

.nav-link {
    padding: 8px 16px;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    background: #374151;
    color: white;
}

.nav-link.active {
    background: #2563eb;
    color: white;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: #2563eb;
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 { font-size: 28px; margin-bottom: 10px; }
.header p { opacity: 0.9; font-size: 16px; }

/* Content Layout */
.content {
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.sidebar {
    border-right: 2px solid #e5e7eb;
    padding-right: 20px;
}

/* Prompt Library */
.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.library-header h2 { font-size: 18px; color: #1f2937; }

.library-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.library-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.library-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.template-list {
    max-height: 600px;
    overflow-y: auto;
}

.template-item {
    padding: 12px;
    margin-bottom: 8px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.template-item:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.template-item.selected {
    background: #dbeafe;
    border-color: #2563eb;
}

.template-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
    margin-bottom: 4px;
}

.template-meta {
    font-size: 12px;
    color: #64748b;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
    opacity: 0.7;
}

.icon-btn:hover { opacity: 1; }

.icon-btn-labeled {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    color: #1e40af;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

.icon-btn-labeled:hover {
    background: #dbeafe;
    border-color: #2563eb;
}

/* Forms */
.form-group { margin-bottom: 20px; }

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

.button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.button:hover { background: #1d4ed8; }
.button:disabled { background: #9ca3af; cursor: not-allowed; }

.button-group { display: flex; gap: 10px; }
.button-group .button { width: auto; flex: 1; }

/* Output */
.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-library-link {
    background: #059669;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.view-library-link:hover {
    background: #047857;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.template-info {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}

.template-info-label {
    font-size: 13px;
    color: #1e40af;
    font-weight: 600;
}

.template-info-title {
    font-size: 14px;
    color: #1f2937;
    margin-top: 4px;
}

.output-box {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
    min-height: 300px;
    white-space: pre-wrap;
    line-height: 1.8;
}

.output-box.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-style: italic;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #2563eb;
}

.action-buttons { display: flex; gap: 10px; margin-top: 15px; }

.secondary-button {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.secondary-button:hover { background: #eff6ff; }

/* Stats */
.stats {
    background: #f0f9ff;
    border: 2px solid #bfdbfe;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}

.stats h3 {
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stat-item { font-size: 14px; }
.stat-label { color: #64748b; font-weight: 500; }
.stat-value { color: #1e40af; font-weight: 700; }

/* Messages */
.error {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.success {
    background: #d1fae5;
    border: 2px solid #6ee7b7;
    color: #065f46;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.warning {
    background: #fef3c7;
    border: 2px solid #fcd34d;
    color: #92400e;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 { font-size: 20px; color: #1f2937; }

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}

.close-btn:hover { color: #1f2937; }

/* Content Pages */
.page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.page-title {
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    color: #64748b;
}

.section { margin-bottom: 40px; }

.section-title {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-content {
    color: #374151;
    line-height: 1.8;
}

.section-content p { margin-bottom: 15px; }
.section-content ul, .section-content ol {
    margin-left: 25px;
    margin-bottom: 15px;
}
.section-content li { margin-bottom: 8px; }

.highlight-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.danger-box {
    background: #fee;
    border-left: 4px solid #dc2626;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1200px) {
    .content { grid-template-columns: 1fr; }
    .sidebar {
        border-right: none;
        border-bottom: 2px solid #e5e7eb;
        padding-bottom: 20px;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    .nav-links { width: 100%; justify-content: center; }
    .container { margin: 10px; }
    .page-container { margin: 20px; padding: 20px; }
}
/* Selected Template Indicator */
.selected-template-indicator {
    display: none;
    margin-left: 12px;
    padding: 4px 12px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #93c5fd;
}

.selected-template-indicator.visible {
    display: inline-block;
}

.selected-template-indicator::before {
    content: "✓ ";
    color: #059669;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.button-text,
.button-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Patient List Styles */
.patient-list {
    display: grid;
    gap: 20px;
}

.patient-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.patient-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.patient-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.patient-card-name {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 5px;
}

.patient-card-meta {
    font-size: 14px;
    color: #64748b;
}

.patient-card-actions {
    display: flex;
    gap: 8px;
}

.icon-button {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-button:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.patient-card-body {
    margin-bottom: 15px;
}

.patient-detail {
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.patient-detail strong {
    color: #1f2937;
}

.patient-card-footer {
    font-size: 12px;
    color: #9ca3af;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #1f2937;
    margin-bottom: 10px;
}

.empty-state p {
    color: #64748b;
    max-width: 400px;
    margin: 0 auto;
}

/* Patient Selector (for generator page) */
.patient-selector {
    background: #f0f9ff;
    border: 2px solid #bfdbfe;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.patient-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.patient-selector-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
}

.patient-selector-clear {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.patient-selector-clear:hover {
    background: rgba(220, 38, 38, 0.1);
}

.patient-selector-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 13px;
}

.patient-selector-info-item {
    color: #374151;
}

.patient-selector-info-label {
    font-weight: 600;
    color: #1f2937;
}

.patient-browse-btn {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 10px;
}

.patient-browse-btn:hover {
    background: #eff6ff;
}

/* Responsive Patient Cards */
@media (max-width: 768px) {
    .patient-card-header {
        flex-direction: column;
        gap: 15px;
    }

    .patient-card-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .patient-selector-info {
        grid-template-columns: 1fr;
    }
}
/* Action Bar */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
    flex-wrap: wrap;
}

.action-bar-left,
.action-bar-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Search and Filter Bar */
.search-filter-bar {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.search-box {
    margin-bottom: 15px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
}

.search-box input:focus {
    outline: none;
    border-color: #2563eb;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.filter-controls select {
    padding: 10px 12px;
}

/* View Options */
.view-options {
    margin: 15px 0;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 6px;
}

/* Quick Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
}

/* Table View */
.table-container {
    overflow-x: auto;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.patient-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.patient-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.patient-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.patient-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
}

.patient-table tbody tr:hover {
    background: #f9fafb;
}

.patient-table tbody tr:last-child td {
    border-bottom: none;
}

.archived-row {
    opacity: 0.6;
    background: #fef3c7 !important;
}

.table-action-btn {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.table-action-btn:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.table-action-danger:hover {
    background: #fee;
    border-color: #dc2626;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.archived {
    background: #fef3c7;
    color: #92400e;
}

.archived-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

/* Patient Card Updates */
.patient-card.archived {
    opacity: 0.7;
    background: #fffbeb;
    border-color: #fcd34d;
}

.icon-button-danger:hover {
    background: #fee;
    border-color: #dc2626;
    color: #dc2626;
}

/* Patient Details Modal */
.patient-details {
    display: grid;
    gap: 15px;
}

.detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 15px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
}

.detail-label {
    font-weight: 600;
    color: #1f2937;
}

.detail-value {
    color: #374151;
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .filter-controls {
        grid-template-columns: 1fr 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .action-bar-left,
    .action-bar-right {
        width: 100%;
    }

    .filter-controls {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }

    .table-container {
        font-size: 12px;
    }

    .patient-table th,
    .patient-table td {
        padding: 8px;
    }
}
/* Custom Prompts Management Styles - Add to styles.css */

/* Custom Prompts Grid in Manage Modal */
.custom-prompts-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.custom-prompt-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.2s;
}

.custom-prompt-card:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.custom-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.custom-prompt-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.custom-prompt-actions {
    display: flex;
    gap: 8px;
}

.custom-prompt-preview {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #2563eb;
}

.custom-prompt-meta {
    font-size: 12px;
    color: #9ca3af;
}

/* Icon Buttons */
.icon-button {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.icon-button:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.icon-button-danger:hover {
    background: #fee2e2;
    border-color: #dc2626;
}

/* New Prompt Indicators */
.template-new {
    position: relative;
    border-left: 3px solid #10b981 !important;
    background: linear-gradient(to right, #d1fae5 0%, transparent 100%);
}

.template-new::after {
    content: '✨ NEW';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #10b981;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.new-badge {
    background: #10b981;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
}

/* New Prompt Notification */
.new-prompt-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.new-prompt-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Edit Modal specific styles */
.modal-content .form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.modal-content .form-group input[type="text"],
.modal-content .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.modal-content .form-group textarea {
    min-height: 200px;
    resize: vertical;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.button-group .button {
    flex: 1;
}
/* Material Saved Notification - Add to styles.css */

.material-saved-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
}

.material-saved-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.material-saved-notification a {
    color: white;
}

.material-saved-notification a:hover {
    opacity: 0.8;
}

/* Onboarding Styles */
.onboarding-content {
    padding: 10px 0;
}

.onboarding-steps {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.onboarding-step {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    align-items: start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 18px;
}

.step-content p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 10px;
}

.step-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.step-button:hover {
    background: #1d4ed8;
}

/* Responsive Onboarding */
@media (max-width: 768px) {
    .onboarding-step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .step-content h4 {
        font-size: 16px;
    }
}