/* Base Styles */
:root {
    /* Safari/iOS-inspired colors */
    --primary-blue: #0078D4;
    --light-bg: #f0f0f0;
    --border-gray: #dcdcdc;
    --text-dark: #333333;
    --text-gray: #666666;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --neutral-color: #7f8c8d;
    --highlight-color: #f1c40f;
    
    /* Dimensions */
    --container-width: 1200px;
    --container-height: 800px;
    --header-height: 60px;
    --tab-height: 40px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #2c3e50;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    padding: 20px;
}

/* Safari-like Browser Shell */
.app-container {
    width: var(--container-width);
    height: var(--container-height);
    max-width: 95vw;
    max-height: 95vh;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.browser-shell {
    background-color: #f2f2f2;
    border-bottom: 1px solid var(--border-gray);
}

.browser-controls {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    height: 42px;
}

.browser-buttons {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.browser-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.browser-button.close {
    background-color: #ff5f57;
}

.browser-button.minimize {
    background-color: #ffbd2e;
}

.browser-button.expand {
    background-color: #28c940;
}

.browser-address-bar {
    flex: 1;
    background-color: white;
    border-radius: 4px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-gray);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: color 0.3s ease;
}

.browser-address-bar i {
    color: #4CAF50;
    margin-right: 8px;
}

.browser-actions {
    margin-left: 15px;
    display: flex;
    gap: 15px;
    color: var(--text-gray);
}

.browser-tabs {
    display: flex;
    padding: 0 15px;
}

.browser-tab {
    background-color: white;
    padding: 8px 15px;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    position: relative;
    top: 1px;
}

.browser-tab:not(.active) {
    background-color: #e9e9e9;
    color: var(--text-gray);
}

/* App Content Styles */
.app-content {
    flex: 1;
    background-color: white;
    overflow: hidden;
    position: relative;
}


.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Only add scrolling to screens that need it */
#scenarioScreen,
#introScreen,
#userSetupScreen,
#roleScreen {
    overflow-y: auto;
    padding: 20px 0;
    align-items: flex-start;
}
.screen[data-active="true"] {
    opacity: 1;
    pointer-events: all;
}

.screen-container {
    width: 100%;
    max-width: 1000px;
    padding: 40px;
    margin: 0 auto;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Start Screen */
.start-screen-content {
    text-align: center;
}

.logo {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(135deg, #0078D4 0%, #5AC8FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.credit {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: #666;
}


.tagline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 400;
}

/* Buttons */
.btn {
    background-color:var(--primary-blue); 
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 120, 212, 0.3) ;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: #f1f1f1;
    color: var(--text-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Scenario Selection */
.scenarios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    min-height: auto;
}

/* Ensure scenario screen doesn't center when scrolling */
#scenarioScreen .screen-container {
    justify-content: flex-start;
    padding-top: 60px;
}

.scenario-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-card:hover:not(.scenario-locked) {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.scenario-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scenario-card:hover:not(.scenario-locked) .scenario-image img {
    transform: scale(1.05);
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.lock-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.scenario-info {
    padding: 24px;
}

.scenario-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.scenario-desc {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Role Introduction */
.role-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.role-card h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #e74c3c;
}

.urgency-banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.pressure-elements {
    background-color: #fff8dc;
    border-left: 4px solid #f39c12;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.personal-stakes-notice {
    background: linear-gradient(135deg, #e8f4fd, #fff0f0);
    border: 1px solid #d1ecf1;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stakes-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.stakes-content {
    flex: 1;
    line-height: 1.5;
    color: #2c3e50;
}

.stakes-content strong {
    color: #c0392b;
    font-weight: 600;
}

.pressure-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

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

.pressure-item i {
    color: #f39c12;
    margin-top: 2px;
    flex-shrink: 0;
}

.quick-take-prompt {
    background-color: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
    border: 1px solid #e9ecef;
}

.quick-take-prompt h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.quick-reactions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.quick-reaction-btn {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-size: 0.95rem;
}

.quick-reaction-btn:hover {
    border-color: var(--primary-blue);
    background-color: rgba(0, 120, 212, 0.05);
}

.quick-reaction-btn.selected {
    border-color: var(--primary-blue);
    background-color: rgba(0, 120, 212, 0.1);
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.2);
}

.reaction-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Pressure Indicators */
.pressure-indicators {
    display: flex;
    align-items: center;
    gap: 20px;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.timer-display.urgent {
    animation: pulse 1s infinite;
}

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

.competitor-alert {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #c0392b;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideInAlert 0.5s ease-out;
}

@keyframes slideInAlert {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Social Pressure Overlay */
.social-pressure-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeInOverlay 0.3s ease-out;
}

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

.pressure-notification {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideInNotification 0.4s ease-out;
}

@keyframes slideInNotification {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.pressure-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.pressure-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.pressure-close:hover {
    opacity: 1;
}

.pressure-content {
    padding: 24px;
    line-height: 1.6;
}

.pressure-actions {
    padding: 16px 20px;
    background-color: #f8f9fa;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.pressure-btn {
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.quick-response {
    background-color: #e74c3c;
    color: white;
}

.quick-response:hover {
    background-color: #c0392b;
}

.ignore-btn {
    background-color: #95a5a6;
    color: white;
}

.ignore-btn:hover {
    background-color: #7f8c8d;
}

/* Simulation Interface */
.simulation-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sim-header {
    height: var(--header-height);
    background-color: white;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sim-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sim-title i {
    color: var(--primary-blue);
}

.sim-content {
    flex: 1;
    display: flex;
    overflow: hidden;
    height: calc(100vh - 120px);
}

.sim-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: var(--light-bg);
    border-right: 1px solid var(--border-gray);
    overflow-y: auto;
}

.content-viewer {
    width: 570px;
    flex-shrink: 0;
    background-color: white;
    overflow-y: auto;
    position: relative;
}

.sim-tabs {
    padding: 10px 0;
}

.tab-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.tab-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-dark);
}

.tab-item.active {
    background-color: rgba(0, 120, 212, 0.1);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}


.content-tab {
    padding: 24px;
    display: none;
}

.content-tab.active {
    display: block;
}

.clue-log {
    width: 320px;
    flex-shrink: 0;
    background-color: #f9f6e9;
    border-left: 1px solid var(--border-gray);
    display: flex;
    flex-direction: column;
}

.clue-log-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e6e1d5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.clue-count {
    background-color: var(--primary-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.clue-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-clues {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #b3a89b;
    text-align: center;
    padding: 20px;
}

.empty-clues i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Add Clue Button */
.add-clue-btn {
    position: fixed;
    bottom: 30px;
    right: 360px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100;
}

.add-clue-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.5);
}

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

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 500px;
    max-width: 90%;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Continuation of CSS styles */

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 16px 20px;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 20px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 1rem;
    min-height: 100px;
    resize: vertical;
}

/* Disabled select options */
select option:disabled {
    color: #999;
    font-style: italic;
}

/* Tag Options */
.tag-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tag-option {
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-option:hover {
    background-color: #f5f5f5;
}

.tag-option.selected {
    border-color: var(--primary-blue);
    background-color: rgba(0, 120, 212, 0.05);
}

/* Decision Screen */
.decision-header {
    text-align: center;
    margin-bottom: 40px;
}

.decision-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.decision-desc {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

#publishedConfirmationScreen{
    overflow-y: auto;
    align-items: flex-start;
}

/* Reasoning Tracker */
.reasoning-tracker {
    max-width: 800px;
    margin: 0 auto;
}

.reasoning-section {
    background-color: white;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-blue);
}

.reasoning-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.reasoning-prompt {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-style: italic;
}

.reaction-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.reaction-option {
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.reaction-option:hover {
    border-color: var(--primary-blue);
    background-color: rgba(0, 120, 212, 0.05);
}

.reaction-option.selected {
    border-color: var(--primary-blue);
    background-color: rgba(0, 120, 212, 0.1);
}

.reaction-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.influence-tracker {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.influence-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

.influence-item.high-impact {
    border-left-color: var(--danger-color);
    background-color: rgba(231, 76, 60, 0.05);
}

.influence-item.medium-impact {
    border-left-color: #f39c12;
    background-color: rgba(243, 156, 18, 0.05);
}

.influence-item.low-impact {
    border-left-color: #95a5a6;
    background-color: rgba(149, 165, 166, 0.05);
}

.influence-source {
    font-weight: 500;
}

.influence-rating {
    display: flex;
    gap: 4px;
}

.influence-star {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.influence-star.active {
    color: #f39c12;
}

.reasoning-input {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
}

.confidence-slider {
    margin: 16px 0;
}

.confidence-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-bottom: 12px;
}

.confidence-slider input[type="range"]:hover {
    opacity: 1;
}

.confidence-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
}

.confidence-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    border: none;
}

.confidence-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-gray);
}

#completeReasoningBtn {
    margin: 40px auto 0;
    display: block;
    min-width: 200px;
}

/* Results Screen */
.results-header {
    text-align: center;
    margin-bottom: 30px;
}

.results-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.results-meta {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.article-preview {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-preview h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feedback-section {
    background-color: #f9f9fb;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feedback-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.feedback-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feedback-icon {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background-color: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.feedback-icon.negative {
    background-color: var(--danger-color);
}

.restart-btn {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

/* Improved Clue/Notes Design - Extracted from previous version */

/* Enhanced Clue Items with Card Design */
.clue-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.clue-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), #5AC8FA);
    transition: width 0.3s ease;
}

.clue-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.clue-item:hover::before {
    width: 6px;
}

/* Clue Header with Source and Actions */
.clue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f2f5;
}

.clue-source {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.clue-source-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.clue-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.clue-delete {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid #e3e6ea;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.clue-delete:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: scale(1.05);
}

/* Clue Content */
.clue-content {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clue-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    margin: 0 -20px;
    padding: 12px 20px;
    background: rgba(248, 250, 252, 0.6);
    border-radius: 0;
    border-left: 3px solid #e5e7eb;
    position: relative;
    font-style: italic;
    width: calc(100% + 40px);
}

.clue-text::before {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-right: 4px;
}

.clue-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-left: 4px;
}

/* Personal Notes Section */
.clue-notes {
    margin: 12px 0;
}

.clue-notes-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.clue-notes-label::before {
    content: '';
    width: 3px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.clue-notes textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4b5563;
    background: white;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clue-notes textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.clue-notes textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Enhanced Tag System */

.clue-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid;
    transition: all 0.2s ease;
}

.clue-tag-icon {
    font-size: 0.7rem;
}

/* Tag Variants */
.clue-tag.tag-supports {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
    border-color: #86efac;
}

.clue-tag.tag-refutes {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    border-color: #fca5a5;
}

.clue-tag.tag-needs-verification {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    border-color: #fbbf24;
}

.clue-tag.tag-misleading {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #7c3aed;
    border-color: #a5b4fc;
}

/* Clue Metadata */
.clue-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: #9ca3af;
    flex-wrap: wrap;
}

.clue-timestamp {
    display: flex;
    align-items: center;
    gap: 4px;
}

.clue-word-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty State Enhancement */
.empty-clues {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    margin: 20px 0;
}

.empty-clues-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #5AC8FA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.empty-clues h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.empty-clues p {
    font-size: 0.9rem;
    color: #6b7280;
    max-width: 280px;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Clue List Container */
.clue-list {
    padding: 16px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.clue-list::-webkit-scrollbar {
    width: 6px;
}

.clue-list::-webkit-scrollbar-track {
    background: transparent;
}

.clue-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.clue-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clue-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .clue-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .clue-actions {
        align-self: flex-end;
    }
    
    .clue-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .clue-meta {
        flex-wrap: wrap;
    }
}

/* Animation for new clues */
@keyframes slideInClue {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.clue-item.new-clue {
    animation: slideInClue 0.4s ease-out;
}

/* Focus states for accessibility */
.clue-delete:focus,
.clue-notes textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Enhanced Clue Log Header */
.clue-log-header {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.clue-log-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.clue-log-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clue-log-title h3::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-blue), #5AC8FA);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.clue-count {
    background: linear-gradient(135deg, var(--primary-blue), #5AC8FA);
    color: white;
    min-width: 28px;
    height: 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
    transition: transform 0.2s ease;
}

.clue-count:hover {
    transform: scale(1.05);
}

.clue-log-stats {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: #64748b;
}

.clue-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.clue-stat-icon {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
}

.clue-stat-supports .clue-stat-icon {
    background: #22c55e;
}

.clue-stat-refutes .clue-stat-icon {
    background: #ef4444;
}

.clue-stat-verification .clue-stat-icon {
    background: #f59e0b;
}

.clue-stat-misleading .clue-stat-icon {
    background: #8b5cf6;
}


/* ====== Email compose UI (read-only body) ====== */
.email-compose {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  border: 1px solid #e5e7eb;
}
.email-toolbar { display:flex; gap:16px; align-items:center; padding:12px 16px; background:#f7f7f7; border-bottom:1px solid #e5e7eb;}
.email-header { padding:16px; border-bottom:1px solid #f0f0f0; background:#fafafa;}
.email-meta { display:grid; grid-template-columns: 90px 1fr; row-gap:6px; column-gap:12px; font-size:14px; color:#444; }
.email-subject-input { width:100%; padding:10px 12px; border:1px solid #e5e7eb; border-radius:6px; font-weight:600; }
.email-body-preview { padding:22px; font-size:14px; line-height:1.6; color:#111827; }
.email-body-preview[contenteditable="false"] { cursor: default; user-select: text; background: #fff; }
.email-body-preview ul { margin: 8px 0 0 18px; }
.email-actions { padding:14px 16px; border-top:1px solid #f0f0f0; background:#fafafa; display:flex; gap:10px; }

/* ====== Consistent big CTA buttons ("Retry investigation" + "Exit to menu") ====== */
.next-actions { display:flex; gap:16px; align-items:center; justify-content:center; flex-wrap:wrap; }
.btn-xl { padding:14px 28px; min-width: 240px; font-size: 16px; font-weight: 700; border-radius: 10px; }

/* Rename color for "Journalist Notes" panel badge (if used) */
.clue-log-header .panel-title { font-weight: 600; }

/* Twitter Style */
.twitter-feed {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.twitter-header {
    padding: 0 16px;
    height: 56px;
    border-bottom: 1px solid rgb(239, 243, 244);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}


.twitter-header-title {
    font-size: 20px;
    font-weight: 800;
    color: rgb(15, 20, 25);
    flex: 1;
    line-height: 24px;
}

.twitter-header-icon {
    display: none;
}

.tweet {
    padding: 12px 16px;
    border-bottom: 1px solid rgb(239, 243, 244);
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.tweet:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.tweet-header {
    display: flex;
    margin-bottom: 2px;
}

.tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    background-color: rgb(207, 217, 222);
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
}

.tweet-user-info {
    flex: 1;
    min-width: 0;
}

.tweet-name-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.tweet-name {
    font-weight: 700;
    color: rgb(15, 20, 25);
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
}

.tweet-name:hover {
    text-decoration: underline;
}

.tweet-handle {
    color: rgb(83, 100, 113);
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.tweet-verified {
    color: #1d9bf0;
    display: inline-flex;
    align-items: center;
}

.tweet-verified i {
    font-size: 16px;
}

.tweet-time {
    color: rgb(83, 100, 113);
    font-size: 15px;
    line-height: 20px;
    white-space: nowrap;
}

.tweet-time::before {
    content: "·";
    margin: 0 4px;
}

.tweet-content {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 12px;
    color: rgb(15, 20, 25);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.tweet-hashtag, .tweet-mention {
    color: rgb(29, 155, 240);
    text-decoration: none;
}

.tweet-hashtag:hover, .tweet-mention:hover {
    text-decoration: underline;
}

.tweet-actions {
    display: flex;
    justify-content: space-between;
    max-width: 425px;
    margin-top: 12px;
}

.tweet-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgb(83, 100, 113);
    font-size: 13px;
    line-height: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 20px;
    transition: all 0.2s ease;
  background: none;
    border: none;
    flex: 1;
    max-width: fit-content;
}

.tweet-action:hover {
    background-color: rgba(29, 155, 240, 0.1);
    color: rgb(29, 155, 240);
}

.tweet-action.retweet:hover {
    background-color: rgba(0, 186, 124, 0.1);
    color: rgb(0, 186, 124);
}

.tweet-action.like:hover {
    background-color: rgba(249, 24, 128, 0.1);
    color: rgb(249, 24, 128);
}

.tweet-action i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tweet-action:hover {
    color: #1DA1F2;
}

.tweet-action.reply:hover {
    color: #1DA1F2;
}

.tweet-action.retweet:hover {
    color: #00BA7C;
}

.tweet-action.like:hover {
    color: #F91880;
}

.tweet-action.share:hover {
    color: #1DA1F2;
}

/* Enhanced styling for influencer tweets */
.tweet.influencer-tweet {
  background-color: rgba(29, 161, 242, 0.05);
  border-left: 3px solid #1DA1F2;
}

.tweet.fan-tweet {
  background-color: rgba(255, 193, 7, 0.05);
  border-left: 3px solid #FFC107;
}

/* Twitter Thread ìŠ¤íƒ€ì¼ë§ */
.tweet-with-thread {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tweet-with-thread:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.tweet-thread-indicator {
  padding: 8px 16px;
  color: #1DA1F2;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}

.tweet-thread-indicator:hover {
  background-color: rgba(29, 161, 242, 0.05);
}

/* Thread View ìŠ¤íƒ€ì¼ë§ */
.twitter-thread-view {
  background: white;
  min-height: 100%;
}

.thread-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.thread-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1DA1F2;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.thread-back-btn:hover {
  background-color: rgba(29, 161, 242, 0.1);
}

.thread-title {
  font-weight: 700;
  font-size: 18px;
}

.thread-content {
  padding: 0;
}

.thread-tweet {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.reply-tweet {
  margin-left: 32px;
  padding-left: 32px;
}

.reply-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e1e8ed;
}

.reply-tweet .reply-line {
  left: 72px;
}

/* ê°€ì§œ ë§í¬ ìŠ¤íƒ€ì¼ë§ */
.fake-link {
  color: #1DA1F2;
  text-decoration: underline;
  position: relative;
  cursor: pointer;
}

.fake-link:hover::after {
  content: "âš ï¸ This link may not work";
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 1000;
}

/* AI íŠ¸ìœ— ìŠ¤íƒ€ì¼ */
.tweet.ai-tweet {
  background-color: rgba(139, 69, 193, 0.05);
  border-left: 3px solid #8B45C1;
}

.tweet[data-ai="true"] {
  position: relative;
}

.tweet[data-ai="true"]::before {
  content: "AI";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #8B45C1;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Enhanced styling for influencer tweets */
.tweet.influencer-tweet {
  background-color: rgba(29, 161, 242, 0.05);
  border-left: 3px solid #1DA1F2;
}

.tweet.fan-tweet {
  background-color: rgba(255, 193, 7, 0.05);
  border-left: 3px solid #FFC107;
}

/* ChatGPT Interface Styles */
.chatgpt-prompt-btn:hover {
  background-color: #f0f0f0 !important;
  border-color: #d0d0d0 !important;
}

.follow-up-btn:hover {
  background-color: #e5e5e5 !important;
  border-color: #c0c0c0 !important;
  transform: translateY(-1px);
}

#chatInput:focus {
  outline: none;
  color: #202123 !important;
}

#sendButton:hover:not(:disabled) {
  color: #0d8f5f !important;
  transform: scale(1.05);
}

#sendButton:disabled {
  cursor: not-allowed;
  color: #8e8ea0 !important;
}

/* Animation for typing indicator */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

#typing-text {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth scrolling for chat messages */
#chatMessages {
  scroll-behavior: smooth;
}
/* TikTok Style */
.tiktok-container {
    width: 375px;
    height: 667px;
    margin: 40px auto;
    background-color: #000;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tiktok-video {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000 url('https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FAlFyk%2FbtsNMJjiiYQ%2FyXE0f8gdokFjibWQ6VDiL0%2Fimg.png') center center / contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiktok-play {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.tiktok-play:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.tiktok-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.tiktok-caption {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tiktok-hashtags {
    color: #fff;
    font-weight: 500;
    margin-bottom: 16px;
}

.tiktok-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tiktok-avatar {
    width: 44px;
    height: 44px;
    background-color: #555;
    border-radius: 50%;
    border: 2px solid #fff;
}

.tiktok-username {
    font-weight: 600;
    font-size: 16px;
}

.tiktok-music {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
}

.tiktok-music i {
    margin-right: 8px;
    animation: rotate 3s linear infinite;
}

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

.tiktok-actions {
    position: absolute;
    right: 12px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tiktok-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
}

.tiktok-action i {
    font-size: 28px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tiktok-action.like i:hover {
    color: #FE2C55;
}

.tiktok-count {
    font-size: 12px;
    font-weight: 600;
}

/* Modern Website Style */
.website-container {
    max-width: 960px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.website-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.website-logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.website-logo-image {
    width: 40px;
    height: 40px;
    background-color: #FFC107;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
}

.website-tagline {
    color: #777;
    font-size: 14px;
    font-weight: 300;
}

.website-nav {
    display: flex;
    gap: 24px;
}

.website-nav-item {
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
}

.website-nav-item:hover {
    color: #FFC107;
}

.website-hero {
    padding: 60px 0;
    text-align: center;
}

.website-hero-image {
    width: 100%;
    max-width: 700px;
    height: 300px;
    margin: 0 auto 30px;
    border-radius: 12px;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)), url('https://via.placeholder.com/700x300') center center / cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.website-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #FFC107, #FF9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.website-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.website-section {
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
}

.website-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.website-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.website-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.website-section li {
    margin-bottom: 10px;
    color: #555;
}

.website-section a {
    color: #FFC107;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.website-section a:hover {
    color: #FF9800;
    text-decoration: underline;
}

.website-cta {
    background-color: #FFC107;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    margin-top: 10px;
}

.website-cta:hover {
    background-color: #FF9800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* News Article Style */
.news-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: Georgia, serif;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.news-publisher {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.news-logo {
    font-family: 'Times New Roman', Times, serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
}

.news-tagline {
    font-style: italic;
    color: #555;
    font-size: 14px;
}

.news-headline {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #555;
    margin-bottom: 20px;
    font-size: 14px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-author {
    font-weight: bold;
}

.news-date {
    font-style: italic;
}

.news-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
}

.news-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

.news-content p:first-of-type:first-letter {
    float: left;
    font-size: 60px;
    line-height: 60px;
    padding-right: 8px;
    padding-top: 4px;
    font-family: 'Times New Roman', Times, serif;
}

.news-quote {
    font-size: 22px;
    font-style: italic;
    color: #333;
    border-left: 4px solid #333;
    padding-left: 20px;
    margin: 30px 40px;
    line-height: 1.6;
}

.news-separator {
    text-align: center;
    margin: 30px 0;
}

.news-separator:before {
    content: 'Ã¢â‚¬Â¢ Ã¢â‚¬Â¢ Ã¢â‚¬Â¢';
    letter-spacing: 20px;
    color: #555;
}

.news-related {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-related-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-related-list {
    list-style-type: none;
    padding: 0;
}

.news-related-list li {
    margin-bottom: 10px;
}

.news-related-list a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

.news-related-list a:hover {
    color: #004499;
    text-decoration: underline;
}

/* PDF Report Style */
.pdf-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Times New Roman', Times, serif;
    background-color: white;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border-radius: 3px;
}

.pdf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.pdf-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-logo-icon {
    color: #e74c3c;
    font-size: 24px;
}

.pdf-logo-text {
    font-size: 12px;
    color: #555;
}

.pdf-controls {
    display: flex;
    gap: 10px;
    font-size: 16px;
    color: #777;
}

.pdf-control {
    cursor: pointer;
    transition: color 0.2s;
}

.pdf-control:hover {
    color: #333;
}

.pdf-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.pdf-section {
    margin-bottom: 30px;
}

.pdf-section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.pdf-section p {
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 14px;
}

.pdf-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.pdf-section li {
    margin-bottom: 8px;
    font-size: 14px;
}

.pdf-page-number {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #777;
}

.pdf-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    color: rgba(0, 0, 0, 0.05);
    font-size: 100px;
    pointer-events: none;
    font-weight: bold;
}

.pdf-footnote {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 10px;
    color: #777;
}

/* Direct Message Chat Style */
.dm-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dm-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.dm-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    font-size: 16px;
}

.dm-user-info {
    flex: 1;
}

.dm-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.dm-status {
    font-size: 13px;
    color: #65b955;
}

.dm-actions {
    display: flex;
    gap: 15px;
    color: #555;
    font-size: 16px;
}

.dm-action {
    cursor: pointer;
}

.dm-conversation {
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.message-them {
    align-self: flex-start;
}

.message-you {
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-them .message-content {
    background-color: white;
    border-bottom-left-radius: 4px;
}

/* Direct Message (continued) */
.message-you .message-content {
    background-color: #0084ff;
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: #8e8e8e;
    margin-top: 4px;
    padding: 0 8px;
    align-self: flex-end;
}

.dm-composer {
    display: flex;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #e5e5e5;
    background-color: #fff;
}

.dm-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 15px;
}

.dm-send {
    width: 36px;
    height: 36px;
    background-color: #0084ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dm-send:hover {
    background-color: #0078e7;
}

/* Email Style */
.email-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.email-toolbar {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
}

.email-toolbar-actions {
    display: flex;
    gap: 15px;
    color: #555;
    font-size: 14px;
}

.email-toolbar-action {
    cursor: pointer;
    transition: color 0.2s;
}

.email-toolbar-action:hover {
    color: #000;
}

.email-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.email-subject {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.email-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    font-size: 14px;
    color: #555;
}

.email-meta-label {
    font-weight: 500;
}

.email-meta-value {
    color: #333;
}

.email-attachment {
    margin-top: 10px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    width: fit-content;
}

.email-attachment i {
    margin-right: 8px;
    color: #4285f4;
}

.email-body {
    padding: 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.email-body p {
    margin-bottom: 15px;
}

.email-body ul {
    margin-bottom: 15px;
    margin-left: 16px;
    list-style-type: disc;
}

.email-body li {
    margin-bottom: 5px;
}

.email-signature {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #777;
}

.email-signature p {
    margin-bottom: 5px;
}

.email-actions {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.email-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.email-btn-primary {
    background-color: #4285f4;
    color: white;
    border: none;
}

.email-btn-primary:hover {
    background-color: #3367d6;
}

.email-btn-secondary {
    background-color: transparent;
    border: 1px solid #d0d0d0;
    color: #555;
}

.email-btn-secondary:hover {
    background-color: #f5f5f5;
}

/* Legal Document Style */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Times New Roman', Times, serif;
    background-color: #f9f9f9;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.legal-paper {
    background-color: white;
    padding: 60px 50px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    position: relative;
    line-height: 1.5;
}

.legal-header {
    text-align: center;
    margin-bottom: 30px;
}

.legal-court {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.legal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.legal-parties {
    margin-bottom: 30px;
    text-align: center;
}

.legal-plaintiff, .legal-defendant {
    margin-bottom: 15px;
}

.legal-vs {
    margin: 10px 0;
    font-style: italic;
}

.legal-docket {
    margin-top: 20px;
    font-size: 14px;
    text-align: right;
}

.legal-case-number {
    font-weight: bold;
}

.legal-section {
    margin-bottom: 25px;
}

.legal-section-title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 14px;
}

.legal-paragraph {
    margin-bottom: 15px;
    font-size: 14px;
    text-indent: 30px;
}

.legal-numbered {
    padding-left: 30px;
    counter-reset: paragraph;
}

.legal-numbered p {
    margin-bottom: 15px;
    font-size: 14px;
    position: relative;
}

.legal-numbered p:before {
    counter-increment: paragraph;
    content: counter(paragraph) ".";
    position: absolute;
    left: -25px;
    font-weight: bold;
}

.legal-signature {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}

.legal-sig-block {
    width: 45%;
}

.legal-sig-line {
    border-top: 1px solid #000;
    padding-top: 5px;
    margin-bottom: 30px;
}

.legal-footer {
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.legal-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 80px;
    opacity: 0.04;
    pointer-events: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 10px;
}

.legal-exhibit {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    font-size: 12px;
    font-weight: bold;
}

/* Domain Animation */
.browser-address-bar {
    transition: all 0.3s ease;
}

.browser-address-bar.updating {
    color: transparent;
    background-color: #f0f0f0;
}

/* Responsive Adjustments */
/* Enhanced Responsive Design */
@media (max-width: 1300px) {
    .app-container {
        width: 95vw;
        height: 95vh;
        margin: 2.5vh 2.5vw;
    }
}

@media (max-width: 1200px) {
    .app-container {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .decision-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    

}

@media (max-width: 992px) {
    .sim-content {
        flex-direction: column;
    }
    

    
    .sim-tabs {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        gap: 5px;
    }
    
    .tab-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        min-width: 120px;
        text-align: center;
    }
    
    .tab-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-blue);
    }
    
    .content-viewer {
        height: 50vh;
        min-height: 400px;
    }
    

    .add-clue-btn {
        right: 20px;
        bottom: 20px;
    }
}

.tab-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-left-color 0.2s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    min-height: 44px;
}

@media (max-width: 768px) {
    .screen-container {
        padding: 20px;
    }
    
    .role-card {
        padding: 30px 20px;
    }
    
    .browser-controls {
        padding: 8px 12px;
    }
    
    .browser-address-bar {
        font-size: 12px;
    }
    
    /* Stack elements vertically on mobile */
    .publishedConfirmationScreen .screen-container {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .publishedConfirmationScreen .screen-container > div {
        flex: none !important;
        margin-bottom: 20px;
    }
}

@media (max-height: 700px) {
    .app-container {
        height: 100vh;
    }
    
    .content-viewer {
        height: 40vh;
        min-height: 300px;
    }
    
    .clue-log {
        height: 20vh;
        min-height: 150px;
    }
}

/* Ensure minimum usable size */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 0 auto;
    }
    
    .tiktok-container {
        width: 90vw;
        max-width: 350px;
        height: auto;
        aspect-ratio: 9/16;
    }
    
    .email-feedback-card {
        width: 95% !important;
        margin: 10px !important;
    }
}
/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    background-color: #2ecc71;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    font-weight: 500;
}

.notification.error {
    background-color: #e74c3c;
}

.notification.show {
    transform: translateX(0);
}

/* YouTube Styles */
.youtube-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: Roboto, Arial, sans-serif;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.youtube-thumbnail {
  position: relative;
  height: 400px;
  background: #000 url('https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FFkGPz%2FbtsNNeJWq15%2FIk4H8kBusjXHWHwG5p33x0%2Fimg.png') center center / contain no-repeat !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.youtube-play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ff0000;
  cursor: pointer;
}

.youtube-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.youtube-info {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.youtube-channel {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.youtube-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e0e0e0;
  margin-right: 12px;
}

.youtube-channel-name {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 16px;
}

.youtube-subscribers {
  color: #606060;
  font-size: 14px;
}

.youtube-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #606060;
  font-size: 14px;
}

.youtube-actions {
  display: flex;
  gap: 24px;
}

.youtube-description {
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #0a0a0a;
  border-bottom: 1px solid #e0e0e0;
}

.youtube-show-more {
  margin-top: 8px;
  color: #606060;
  font-weight: 500;
  cursor: pointer;
}

.youtube-comments {
  padding: 16px;
}

.youtube-comments-header {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 500;
}

.youtube-comment {
  display: flex;
  margin-bottom: 24px;
}

.youtube-reply {
  display: flex;
  margin-top: 16px;
  margin-left: 40px;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e0e0e0;
  margin-right: 16px;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-name {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 14px;
}

.comment-time {
  color: #606060;
  font-weight: 400;
  font-size: 13px;
}

.comment-text {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #0a0a0a;
}

.comment-actions {
  display: flex;
  gap: 16px;
  color: #606060;
  font-size: 13px;
}

/* Blog Styles */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Segoe UI', 'Helvetica', Arial, sans-serif;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

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

.blog-logo {
  font-weight: 700;
  font-size: 24px;
}

.blog-navigation {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.blog-post {
  padding: 30px;
}

.blog-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.blog-meta {
  display: flex;
  gap: 20px;
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
}

.blog-featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 24px;
}

.blog-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.blog-content p {
  margin-bottom: 20px;
}

.blog-callout {
  background-color: #f7f7f7;
  border-left: 4px solid #0078D4;
  padding: 20px;
  margin: 30px 0;
  font-weight: 500;
}

.blog-comments {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.blog-comment {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

/* Reddit Styles */
.reddit-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.reddit-header {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background-color: white;
  border-bottom: 1px solid #edeff1;
  height: 48px;
}

.reddit-logo {
  color: #ff4500;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
}

.reddit-subreddit {
  margin-left: 20px;
  font-weight: 500;
  color: #1a1a1b;
}

.reddit-search {
  margin-left: auto;
}

.reddit-search input {
  border: 1px solid #edeff1;
  border-radius: 4px;
  padding: 8px 12px;
  background-color: #f6f7f8;
  width: 200px;
  font-size: 14px;
}

.reddit-post {
  padding: 16px;
  border-bottom: 1px solid #edeff1;
}

.reddit-title {
  font-size: 20px;
  font-weight: 500;
  color: #222;
  margin-bottom: 8px;
}

.reddit-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #787c7e;
  font-size: 12px;
  margin-bottom: 12px;
}

.reddit-awards {
  display: flex;
  gap: 8px;
}

.reddit-award {
  color: #ff4500;
  font-size: 14px;
}

.reddit-content {
  font-size: 14px;
  line-height: 1.5;
  color: #1c1c1c;
  margin-bottom: 16px;
}

.reddit-content p {
  margin-bottom: 12px;
}

.reddit-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.reddit-content li {
  margin-bottom: 8px;
}

.reddit-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #787c7e;
}

.reddit-votes {
  display: flex;
  align-items: center;
  gap: 4px;
}

.reddit-action {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.reddit-comments {
  padding: 16px;
}

.reddit-comment {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.top-comment {
  border-left: 2px solid #0079d3;
  padding-left: 8px;
}

.comment-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #787c7e;
  font-size: 12px;
  font-weight: 700;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 12px;
}

.comment-author {
  font-weight: 700;
  color: #1c1c1c;
}

.comment-flair {
  background-color: #edeff1;
  color: #1c1c1c;
  padding: 0 4px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 500;
}

.comment-time {
  color: #787c7e;
}

.comment-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #787c7e;
}

.reddit-replies {
  margin-top: 12px;
  margin-left: 16px;
  border-left: 1px dashed #edeff1;
  padding-left: 16px;
}

/* Instagram Styles */
.instagram-container {
  max-width: 470px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: white;
  border-radius: 3px;
  border: 1px solid #dbdbdb;
}

.instagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.instagram-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.instagram-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fafafa;
  background-image: url('https://via.placeholder.com/32');
  background-size: cover;
}

.instagram-username {
  font-weight: 600;
  color: #262626;
  font-size: 14px;
}

.instagram-location {
  font-size: 12px;
  color: #262626;
}

.instagram-actions {
  color: #262626;
}

.instagram-image {
  height: 470px;
  background-image: url('https://via.placeholder.com/470');
  background-size: cover;
  background-position: center;
}

.instagram-actions-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}

.instagram-main-actions {
  display: flex;
  gap: 16px;
  font-size: 24px;
}

.instagram-likes {
  padding: 0 16px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.instagram-caption {
  padding: 0 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.instagram-text {
  color: #262626;
}

.instagram-comments {
  padding: 0 16px;
}

.instagram-comment-count {
  color: #8e8e8e;
  font-size: 14px;
  margin-bottom: 8px;
}

.instagram-comment {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.instagram-comment-actions {
  margin-left: 8px;
  color: #8e8e8e;
}

.instagram-time {
  padding: 16px;
  font-size: 10px;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* Enhanced styling for influencer tweets */
.tweet.influencer-tweet {
  background-color: rgba(29, 161, 242, 0.05);
  border-left: 3px solid #1DA1F2;
}

.tweet.fan-tweet {
  background-color: rgba(255, 193, 7, 0.05);
  border-left: 3px solid #FFC107;
}
/* Platform Design Influence Styles */
.platform-bias-indicator {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  animation: pulse 2s infinite;
}

.filter-bubble-warning {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid #ff6b6b;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.algorithmic-boost {
  border-left: 4px solid #FFD700 !important;
  background: linear-gradient(90deg, rgba(255,215,0,0.05) 0%, transparent 100%);
}

.echo-chamber-filter {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.platform-comparison-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: 8px;
}

.start-screen-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 20px; /* Reduced from 40px */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-title {
  font-size: 3.5rem; /* Reduced from 4rem */
  font-weight: 800;
      background: linear-gradient(135deg, #0078D4 0%, #5AC8FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px; /* Reduced from 20px */
}

.hook-section {
  margin-bottom: 25px; /* Reduced from 40px */
}

.hook-section h2 {
  font-size: 1.6rem; /* Reduced from 1.8rem */
  margin-bottom: 15px; /* Reduced from 20px */
  color: #2c3e50;
}

.hook-section p {
  font-size: 1rem; /* Reduced from 1.1rem */
  line-height: 1.5; /* Reduced from 1.6 */
  color: #555;
}

.challenge-preview {
  margin-bottom: 20px; /* Reduced from 30px */
}

.challenge-preview h3 {
  font-size: 1.2rem; /* Reduced from 1.3rem */
  margin-bottom: 15px; /* Reduced from 20px */
  color: #2c3e50;
}

.challenge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
  gap: 10px; /* Reduced from 15px */
  max-width: 600px;
  margin: 0 auto 20px auto; /* Reduced bottom margin */
}

.challenge-item {
  background: #f8f9fa;
  padding: 12px; /* Reduced from 15px */
  border-radius: 8px;
  border-left: 4px solid #0078D4;
  text-align: left;
  font-size: 0.85rem; /* Reduced from 0.95rem */
}

.scenarios-hint {
  margin-bottom: 25px; /* Reduced from 40px */
}

.scenarios-hint p {
  font-size: 0.9rem; /* Reduced from 1rem */
  color: #666;
  font-style: italic;
}

.cta-section {
  margin-top: 20px; /* Reduced from 50px */
}

.cta-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 35px; /* Reduced from 18px 40px */
  font-size: 1.1rem; /* Reduced from 1.2rem */
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.subtitle {
  margin-top: 10px; /* Reduced from 15px */
  font-size: 0.9rem; /* Reduced from 1rem */
  color: #666;
  font-weight: 500;
}

/* Make responsive for smaller screens */
@media (max-height: 700px) {
  .main-title {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .hook-section h2 {
    font-size: 1.4rem;
  }
  
  .challenge-list {
    gap: 8px;
  }
  
  .challenge-item {
    padding: 10px;
    font-size: 0.8rem;
  }
}

.global-nav-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.nav-control-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.nav-control-btn:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-btn:hover {
  background: #f8f9fa;
  border-color: #6c757d;
}

.pause-btn:hover {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.resume-btn:hover {
  background: #d1ecf1;
  border-color: #17a2b8;
  color: #0c5460;
}

/* Hide controls on start screen */
[data-active="true"]#startScreen ~ .global-nav-controls .back-btn {
  display: none;
}
/* Twitter Thread - Realistic Styling */
.twitter-thread-view {
  background: #ffffff;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Header */
.thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  border-bottom: 1px solid rgb(239, 243, 244);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.thread-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
  color: rgb(15, 20, 25);
}

.thread-back-btn:hover {
  background-color: rgba(15, 20, 25, 0.1);
}

.thread-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: rgb(15, 20, 25);
  line-height: 24px;
}

.thread-options {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
  color: rgb(83, 100, 113);
}

.thread-options:hover {
  background-color: rgba(15, 20, 25, 0.1);
}

/* Thread Content */
.thread-content {
  padding: 0;
}

.thread-tweet {
  position: relative;
  padding: 12px 16px;
  border-bottom: 1px solid rgb(239, 243, 244);
}

.thread-tweet.last-tweet {
  border-bottom: none;
}

/* Thread connecting line */
.thread-line {
  position: absolute;
  left: 36px;
  top: 0;
  width: 2px;
  height: 12px;
  background-color: rgb(207, 217, 222);
}

/* Tweet structure */
.tweet-main {
  display: flex;
  gap: 12px;
}

.tweet-avatar-container {
  flex-shrink: 0;
}

.tweet-avatar {
  width: 40px;
  height: 40px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.tweet-body {
  flex: 1;
  min-width: 0;
}

/* Tweet header */
.tweet-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.tweet-user-names {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.tweet-name {
  color: rgb(15, 20, 25);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
}

.tweet-handle {
  color: rgb(83, 100, 113);
  font-size: 15px;
  line-height: 20px;
}

.tweet-separator {
  color: rgb(83, 100, 113);
  margin: 0 2px;
}

.tweet-time {
  color: rgb(83, 100, 113);
  font-size: 15px;
  line-height: 20px;
}

/* Grok verification badges */
.grok-badges {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
}

.grok-verified-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #ffd700;
  border-radius: 2px;
}

.grok-verified-badge svg {
  width: 10px;
  height: 10px;
}

.grok-x-badge {
  background: #000000;
  color: #ffffff;
  font-size: 10px;
  padding: 1px 3px;
  border-radius: 2px;
  font-family: serif;
  font-weight: 700;
  line-height: 1;
}

.twitter-verified {
  margin-left: 2px;
}

.tweet-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
  color: rgb(83, 100, 113);
}

.tweet-menu-btn:hover {
  background-color: rgba(29, 155, 240, 0.1);
  color: rgb(29, 155, 240);
}

/* Tweet content */
.tweet-text {
  color: rgb(15, 20, 25);
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 12px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.tweet-hashtag {
  color: rgb(29, 155, 240);
  cursor: pointer;
}

.tweet-mention {
  color: rgb(29, 155, 240);
  cursor: pointer;
}

/* Ask Grok button */
.ask-grok-container {
  margin: 12px 0;
}

.ask-grok-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgb(15, 20, 25);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  justify-content: center;
}

.ask-grok-btn:hover {
  background: rgb(39, 44, 48);
}

.ask-grok-btn svg {
  opacity: 0.8;
}

/* Tweet actions */
.tweet-actions {
  display: flex;
  justify-content: space-between;
  max-width: 425px;
  margin-top: 12px;
}

.tweet-action {
  flex: 1;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  color: rgb(83, 100, 113);
  font-size: 13px;
  line-height: 16px;
}

.action-btn:hover {
  background-color: rgba(29, 155, 240, 0.1);
  color: rgb(29, 155, 240);
}

.retweet-btn:hover {
  background-color: rgba(0, 186, 124, 0.1);
  color: rgb(0, 186, 124);
}

.like-btn:hover {
  background-color: rgba(249, 24, 128, 0.1);
  color: rgb(249, 24, 128);
}

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

.action-btn span {
  font-size: 13px;
  line-height: 16px;
}

/* Responsive */
@media (max-width: 500px) {
  .thread-header {
    padding: 0 12px;
  }
  
  .thread-tweet {
    padding: 12px;
  }
  
  .tweet-actions {
    max-width: 100%;
  }
  
  .action-btn span {
    display: none;
  }
}

/* Add these CSS rules to fix the decision screen scrolling */

/* Ensure decision screen can scroll */
#decisionScreen {
    overflow-y: auto;
    padding: 20px 0;
    align-items: flex-start;
}

#decisionScreen .screen-container {
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 60px;
    min-height: auto;
}

/* Make sure reasoning tracker content is properly spaced */
.reasoning-tracker {
    max-width: 800px;
    margin: 0 auto;
}

.reasoning-section {
    background-color: white;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-blue);
}

/* Ensure the complete button is visible at the bottom */
#completeReasoningBtn {
    margin: 40px auto 60px;
    display: block;
    min-width: 200px;
}

/* Fix for mobile responsiveness on decision screen */
@media (max-width: 768px) {
    #decisionScreen .screen-container {
        padding: 20px;
        padding-bottom: 80px;
    }
    
    .reasoning-section {
        padding: 20px 16px;
        margin-bottom: 20px;
    }
    
    .decision-header {
        margin-bottom: 30px;
    }
    
    .decision-title {
        font-size: 1.6rem;
    }
}

/* Add these styles to your CSS for the Top 3 influence tracker */

.top3-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.source-option {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.source-option:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.1);
}

.source-option.selected {
  border-color: var(--primary-blue);
  background-color: rgba(0, 120, 212, 0.05);
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.2);
}

.source-checkbox {
  display: none;
}

.source-label {
  display: block;
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.source-label:hover {
  background-color: rgba(0, 120, 212, 0.02);
}

.source-option.selected .source-label {
  background-color: rgba(0, 120, 212, 0.03);
}

.source-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.source-info strong {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.clue-badge {
  background-color: var(--primary-blue);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.source-option.selected .clue-badge {
  background-color: #fff;
  color: var(--primary-blue);
}

.source-description {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
}

.selection-counter {
  text-align: center;
  font-weight: 500;
}

.selection-counter #selectedCount {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Add checkmark for selected items */
.source-option.selected .source-label::before {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.source-label {
  position: relative;
}

/* Responsive design */
@media (max-width: 768px) {
  .top3-selector {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .source-label {
    padding: 12px;
  }
  
  .source-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .clue-badge {
    align-self: flex-end;
  }
}


/* Performance Analysis Screen Styles */

.performance-header {
    text-align: center;
    margin-bottom: 40px;
}

.performance-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.performance-header p {
    color: var(--text-gray);
    font-size: 1rem;
}

.overall-score-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.score-display {
    text-align: center;
}

.score-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

.proficiency-badge {
    text-align: center;
}

.badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin-bottom: 8px;
}

.badge-description {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.analysis-sections {
    margin-bottom: 40px;
}

.analysis-section {
    background: white;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ddd;
}

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

.section-icon {
    font-size: 1.5rem;
    margin-right: 12px;
}

.section-title {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.section-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(0, 120, 212, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.section-feedback {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.feedback-item.success {
    background-color: rgba(39, 174, 96, 0.1);
    border-left: 3px solid #27ae60;
    color: #27ae60;
}

.feedback-item.partial {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 3px solid #f39c12;
    color: #e67e22;
}

.feedback-item.needs-work {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 3px solid #e74c3c;
    color: #c0392b;
}

.navigation-pattern-section,
.recommendations-section {
    background: white;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navigation-pattern-section h3,
.recommendations-section h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.pattern-visualization {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pattern-step {
    padding: 6px 12px;
    background: var(--light-bg);
    border-radius: 16px;
    font-size: 0.8rem;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.pattern-arrow {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.recommendations-list {
    display: grid;
    gap: 16px;
}

.recommendation-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.recommendation-category {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.recommendation-suggestion {
    margin-bottom: 8px;
    line-height: 1.4;
}

.recommendation-research {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

/* Responsive design */
@media (max-width: 768px) {
    .overall-score-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pattern-visualization {
        justify-content: center;
    }
}

/* ===== Assessment Flow: Layout & Scroll ===== */
#draftArticleScreen,
#assessmentPdfScreen,
#exitOptionsScreen,
#emailFeedbackScreen {
  overflow-y: auto;
  align-items: flex-start;
}

.email-template, .evidence-box, .pdf-actions, .pdf-preview, .exit-grid {
  background: #fff;
  border: 1px solid var(--border-gray, #e6e6e6);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.help-text {
  color: var(--text-gray, #666);
  margin-bottom: 12px;
}

.clue-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.clue-item {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid #e6e6e6; border-radius: 10px; padding: 12px;
}

.clue-item .meta {
  display: block; font-size: 12px; color: #888; margin-top: 4px;
}

.actions-row { display: flex; gap: 12px; justify-content: flex-end; }

.exit-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 16px; }

/* Small screens */
@media (max-width: 768px) {
  .exit-grid { grid-template-columns: 1fr; }
}

/* Email UI Styles */
.email-ui {
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
}

.email-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #444;
}

.email-body {
  font-size: 1rem;
  line-height: 1.5;
}

/* Primary Button Styles */
.primary-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin: 0.5rem;
  transition: background-color 0.2s ease;
}

.primary-btn:hover {
  background: #0056b3;
}

/* Next Actions Layout */
.next-actions {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.next-actions h2 {
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Exit options — make both buttons identical width/height */
#exitOptionsScreen .exit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
#exitOptionsScreen .exit-grid .btn {
  width: 100%;
  padding: 14px 18px;
  font-weight: 600;
}
@media (max-width: 680px){
  #exitOptionsScreen .exit-grid { grid-template-columns: 1fr; }
}
