:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --input-border: #e0e0e0;
    --input-focus: #a0a0a0;
    --console-bg: #1e1e1e;
    --console-text: #cccccc;
    --btn-primary-bg: #333333;
    --btn-primary-text: #ffffff;
    --btn-primary-hover: #555555;
    --btn-secondary-bg: #f0f0f0;
    --btn-secondary-text: #333333;
    --btn-secondary-hover: #e0e0e0;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
}

/* Completion card animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Markdown Styles for Console */
.markdown-content {
    line-height: 1.6;
    font-size: 14px;
}
.markdown-content h1, .markdown-content h2, .markdown-content h3, .markdown-content h4 {
    color: #e0e0e0;
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.3;
}
.markdown-content h1 { font-size: 1.4em; border-bottom: 1px solid #444; padding-bottom: 0.3em; }
.markdown-content h2 { font-size: 1.25em; }
.markdown-content h3 { font-size: 1.1em; }
.markdown-content p { margin-bottom: 0.8em; }
.markdown-content ul, .markdown-content ol { padding-left: 1.5em; margin-bottom: 0.8em; }
.markdown-content li { margin-bottom: 0.3em; }
.markdown-content code {
    font-family: "Menlo", "Monaco", "Consolas", "Courier New", monospace;
    background-color: #333;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #e6c07b;
}
.markdown-content pre {
    background-color: #282c34;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1em;
}
.markdown-content pre code {
    background-color: transparent;
    padding: 0;
    color: #abb2bf;
    font-size: 0.9em;
}
.markdown-content blockquote {
    border-left: 3px solid #555;
    margin: 0 0 1em 0;
    padding-left: 1em;
    color: #999;
}
.markdown-content a { color: #61afef; text-decoration: none; }
.markdown-content a:hover { text-decoration: underline; }
.markdown-content strong { color: #fff; }

/* Terminal Spinner */
.spinner {
    display: inline-block;
    font-family: monospace;
    color: #52c41a;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Session Page Loading Spinner */
.session-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.session-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f0f0f0;
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.session-loading-text {
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

/* TODO Spinner Animation */
.todo-spinner {
    display: inline-block;
    animation: spin 2s linear infinite;
}

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

.todo-in-progress .todo-spinner {
    animation: pulse-spin 1.5s ease-in-out infinite;
    font-size: 12px;
}

@keyframes pulse-spin {
    0% { transform: rotate(0deg) scale(1); opacity: 1; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.8; }
    100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 5px 8px;
    font-size: 12px;
    color: #666;
    border-radius: 4px;
    outline: none;
    text-align: center;
    white-space: nowrap;
}

.lang-btn.active {
    border-color: #ccc;
    color: #000;
    font-weight: bold;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Wide container for workspace - outside the main container */
#splitContainer {
    display: none;
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0 0;
    padding: 0 10px;
}

#splitContainer.active {
    display: flex;
    gap: 24px;
    height: 70vh;
}

/* Main Header */
.main-header {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto 10px;
}

.header-brand h1 {
    font-weight: 600;
    color: #111;
    text-align: center;
    margin: 0 0 4px 0;
    font-size: 28px;
}

.header-brand .subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Session Header */
.session-header {
    margin-bottom: 8px;
}

.session-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #111;
}

/* Action buttons row */
.action-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}

/* Unified button style */
.session-new-search-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    background: #1f2937;
    color: #fff;
    border: 1px solid #1f2937;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.session-new-search-btn:hover,
.btn:hover {
    background: #374151;
    border-color: #374151;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Secondary button style (lighter) */
.btn-secondary {
    background: #fff;
    color: #595959;
    border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
    background: #fafafa;
    border-color: #bfbfbf;
    color: #262626;
}

/* Search wrapper to center and limit width */
.search-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 20px;
}

input[type="text"] {
    padding: 15px;
    font-size: 16px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    background: #fafafa;
}

#productInput { flex-grow: 1; }
#regionInput { flex-grow: 1; }

input[type="text"]:focus {
    border-color: var(--input-focus);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

button, #downloadBtn {
    padding: 15px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#generateBtn {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    min-width: 120px;
    padding: 15px 25px;
}

#generateBtn:hover {
    background-color: var(--btn-primary-hover);
}

#generateBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.progress-bar-bg {
    flex-grow: 1;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #52c41a;
    transition: width 0.1s linear, background-color 0.5s linear;
}

.timer-label {
    font-size: 14px;
    color: #555;
    font-variant-numeric: tabular-nums;
    min-width: 50px;
    text-align: right;
    font-family: monospace;
    transition: color 0.3s;
}

#logArea {
    background-color: var(--console-bg);
    color: var(--console-text);
    padding: 20px;
    border-radius: 8px;
    height: 100%;
    min-height: 300px;
    overflow-y: auto;
    font-family: "Menlo", "Monaco", "Consolas", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.log-entry {
    margin-bottom: 5px;
    word-wrap: break-word;
}

.log-entry.tool {
    color: #8fa3bf;
}

.log-entry.claude {
    color: #a8d1a8;
}

.log-entry.usage {
    color: #d1b88a;
    font-style: italic;
}

.log-entry.error {
    color: #e06c75;
}

#skillStatusArea {
    flex: 0 0 320px;
    overflow-y: auto;
    border-right: 1px solid #444;
    padding-right: 20px;
}

#agentLogArea {
    flex: 1;
    overflow-y: auto;
    min-width: 0;
}

.compact-skill-card {
    padding: 10px 16px;
    margin: 8px 0;
    background: #3a3a3a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    border-left: 4px solid #52c41a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.compact-skill-card:hover {
    background: #4a4a4a;
    transform: translateX(4px);
}

.compact-skill-card span {
    color: #fff;
}

.compact-skill-card .skill-name {
    font-weight: 600;
    font-size: 14px;
}

.compact-skill-card .skill-status-indicator {
    font-size: 11px;
}

.expanded-skill-card {
    padding: 12px;
    margin: 10px 0;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.expanded-skill-card .skill-log-content {
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 10px;
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 12px;
    background: #111;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.expanded-skill-card.expanded .skill-log-content {
    display: block;
}

.expanded-skill-card .progress-bar-bg {
    height: 3px;
    background: #333;
    margin-top: 8px;
}

.expanded-skill-card .progress-bar-fill {
    height: 100%;
    background: #52c41a;
    transition: width 0.3s ease;
}

/* Leads Table Styles */
#leadsTableContainer {
    width: 95%;
    max-width: 1600px;
    margin: 20px auto 0;
    overflow-x: auto;
    display: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Inside report preview, show table */
#leadsTablePreview {
    overflow-x: auto;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    background: #fff;
    max-width: 100%;
}

/* Add custom scrollbar for horizontal scroll */
#leadsTablePreview::-webkit-scrollbar {
    height: 8px;
}

#leadsTablePreview::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

#leadsTablePreview::-webkit-scrollbar-thumb {
    background: #bfbfbf;
    border-radius: 4px;
}

#leadsTablePreview::-webkit-scrollbar-thumb:hover {
    background: #8c8c8c;
}

#leadsTablePreview.active {
    display: block;
}

#leadsTablePreviewInner {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

#leadsTablePreviewInner thead {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

#leadsTablePreviewInner th {
    font-weight: 600;
    color: #595959;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid #e8e8e8;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#leadsTablePreviewInner td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #595959;
}

#leadsTablePreviewInner tbody tr {
    transition: all 0.2s ease;
}

#leadsTablePreviewInner tbody tr:hover {
    background: linear-gradient(90deg, #fafafa 0%, #f5f5f5 100%);
    transform: scale(1.002);
}

#leadsTablePreviewInner tbody tr:last-child td {
    border-bottom: none;
}

#leadsTablePreviewInner a {
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

#leadsTablePreviewInner a:hover {
    color: #40a9ff;
    text-decoration: underline;
}

#leadsTablePreviewInner .website-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #e6f7ff;
    color: #1890ff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

#leadsTablePreviewInner .website-link:hover {
    background: #bae7ff;
    text-decoration: none;
}

#leadsTablePreviewInner .location-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #f0f5ff;
    color: #597ef7;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#leadsTablePreviewInner .location-link:hover {
    background: #e6f4ff;
    text-decoration: none;
}

/* Report Display Area */
#reportContainer {
    width: 95%;
    max-width: 1600px;
    margin: 20px auto 0;
    display: none;
}

#reportContainer.active {
    display: block;
}

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

.report-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.report-actions {
    display: flex;
    gap: 12px;
}

/* Statistics Summary */
.stats-summary {
    display: flex;
    gap: 30px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 24px;
    animation: fadeInUp 0.3s ease-out;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: #8c8c8c;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
}

.top-table-preview {
    margin-bottom: 30px;
}

.preview-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

/* Markdown Content Styles */
.markdown-report {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    line-height: 1.7;
}

.markdown-report h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    color: var(--gray-900);
}

.markdown-report h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.markdown-report h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.markdown-report p {
    margin-bottom: 14px;
    color: var(--gray-700);
}

.markdown-report ul, .markdown-report ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.markdown-report li {
    margin-bottom: 6px;
    color: var(--gray-700);
}

.markdown-report code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.markdown-report pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.markdown-report pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.markdown-report table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.markdown-report th {
    background: #f5f5f5;
    font-weight: 600;
    color: var(--gray-700);
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.markdown-report td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    color: var(--gray-600);
}

.markdown-report blockquote {
    border-left: 4px solid #8b5cf6;
    margin: 16px 0;
    padding-left: 16px;
    color: var(--gray-600);
    background: #f9f9f9;
    padding: 12px 16px;
    border-radius: 0 4px 4px 0;
}

.markdown-report strong {
    color: var(--gray-800);
    font-weight: 600;
}

.markdown-report a {
    color: #1890ff;
    text-decoration: none;
}

.markdown-report a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #fafafa;
    font-weight: 600;
    color: #555;
    position: sticky;
    top: 0;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f5f5f5;
}

/* Priority Badges */
.priority-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.priority-high {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f4ff 100%);
    color: #597ef7;
    border: 1px solid #adc6ff;
}

.priority-medium {
    background: linear-gradient(135deg, #fffbf0 0%, #fff7e6 100%);
    color: #d46b08;
    border: 1px solid #ffd591;
}

.priority-low {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    color: #8c8c8c;
    border: 1px solid #d9d9d9;
}

/* Legacy support - keep old colors working */
.priority-high-legacy { color: #597ef7; font-weight: 500; }
.priority-medium-legacy { color: #d46b08; font-weight: 500; }
.priority-low-legacy { color: #d9d9d9; }

/* Copy Button */
.copy-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    color: #595959;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copy-btn:hover {
    background: #f5f5f5;
    border-color: #bfbfbf;
    color: #262626;
}

.copy-btn:active {
    transform: scale(0.96);
}

.copy-btn.copied {
    background: #f0f5ff;
    border-color: #adc6ff;
    color: #597ef7;
}

#resultMessage {
    text-align: left;
    padding: 12px 16px;
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    color: #555;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
}

#resultMessage .filename {
    font-weight: 500;
    color: #000;
    word-break: break-all;
    flex: 1;
}

#resultMessage::before {
    content: "✓";
    color: #8b5cf6;
    font-weight: bold;
}

/* Session Info Display */
.result-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 0;
    margin: 16px 0;
    animation: fadeInUp 0.3s ease-out;
}

.session-id-label {
    font-size: 13px;
    font-weight: 500;
    color: #8c8c8c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.session-id {
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 13px;
    color: #595959;
}

/* Report Action Buttons - Additional styles */
.btn-secondary {
    background: #fff;
    color: #595959;
    border: 1px solid #d9d9d9;
}

.btn-success {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: #fff;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #5fc924 0%, #42b015 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.btn-success.disabled {
    background: #d9d9d9;
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
    box-shadow: none;
}

/* Error Message Display */
#errorMessage {
    background: linear-gradient(135deg, #fff2f0 0%, #ffeceb 100%);
    border: 1px solid #ffccc7;
    border-radius: 10px;
    padding: 40px;
    animation: fadeInUp 0.3s ease-out;
}

#errorText {
    color: #cf1322;
    font-size: 16px;
}

.action-area {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.action-area.visible {
    opacity: 1;
}

#downloadBtn, #excelDownloadBtn {
    background-color: #222;
    color: #fff;
    width: 120px;
    padding: 15px 20px;
    text-align: center;
    box-sizing: border-box;
}

#downloadBtn:hover, #excelDownloadBtn:hover {
    background-color: #444;
    transform: translateY(-1px);
}

#excelDownloadBtn {
    background-color: #1a6b34;
}

#excelDownloadBtn:hover {
    background-color: #248a45;
}

#newBtn {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    width: 120px;
    padding: 15px 20px;
    text-align: center;
}

#newBtn:hover {
    background-color: var(--btn-secondary-hover);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .container {
        width: 95%;
        margin-top: 15px;
    }
    .input-group {
        flex-direction: column;
    }
    #generateBtn {
        width: 100%;
    }
    .action-area {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }
    #downloadBtn, #excelDownloadBtn, #newBtn {
        flex: 1;
        max-width: none;
        text-align: center;
        padding: 12px 15px;
        width: auto;
    }
    /* Language switch adjustments for mobile */
    .lang-switch {
        position: absolute;
        top: 10px;
        right: 10px;
        gap: 5px;
    }
    .lang-btn {
        padding: 3px 6px;
        font-size: 11px;
        min-width: auto;
    }
    input[type="text"]::placeholder {
        font-size: 14px;
    }
    /* Workspace on mobile */
    #splitContainer {
        width: 95%;
        height: auto;
        min-height: 50vh;
    }
    #splitContainer.active {
        flex-direction: column;
    }
    #skillStatusArea {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #444;
        padding-right: 0;
        padding-bottom: 15px;
        max-height: 200px;
    }
    #logArea {
        font-size: 13px;
        padding: 15px;
    }
    footer {
        padding: 15px 0;
        font-size: 11px;
    }
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.share-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.share-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #262626;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #8c8c8c;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.share-modal-close:hover {
    background: #f5f5f5;
    color: #262626;
}

.share-modal-body {
    padding: 24px;
}

.share-success-text {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #52c41a;
    font-weight: 500;
}

.share-preview-box {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
}

.share-preview-text {
    margin: 0;
    font-size: 14px;
    color: #595959;
    line-height: 1.6;
    word-break: break-all;
}

