/* Modern Google-like design for Wahrheit oder Bullshit */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Utility classes */
.d-none {
    display: none !important;
}

/* Main container */
.main-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Logo section */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
}

.logo i {
    font-size: 36px;
    color: white;
}

.main-title {
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 300;
}

/* Search container */
.search-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Input tabs */
.input-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.tab-btn.active {
    background: white;
    color: #4285f4;
    border-bottom: 2px solid #4285f4;
}

.tab-btn i {
    font-size: 16px;
}

/* Input sections */
.input-section {
    display: none;
    padding: 24px;
}

.input-section.active {
    display: block;
}

/* Search form */
.search-form {
    width: 100%;
}

/* Search box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    background: white;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.search-icon {
    color: #666;
    font-size: 18px;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 16px;
    color: #333;
    outline: none;
    resize: none;
    min-height: 24px;
    max-height: 120px;
    font-family: inherit;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.search-btn:hover {
    background: #3367d6;
    transform: scale(1.05);
}

.search-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.search-btn.large {
    width: auto;
    border-radius: 24px;
    padding: 12px 24px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* Upload area */
.upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.upload-area:hover {
    border-color: #4285f4;
    background: #f0f7ff;
}

.upload-area.drag-over {
    border-color: #4285f4;
    background: #e8f4fd;
    transform: scale(1.02);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-icon {
    font-size: 48px;
    color: #666;
}

.upload-text {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.upload-btn {
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-btn:hover {
    background: #3367d6;
    transform: translateY(-1px);
}

.file-input {
    display: none;
}

/* Image preview */
.image-preview {
    margin-top: 16px;
    position: relative;
    display: inline-block;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Enhanced Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.loading-content {
    text-align: center;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.4s ease-out;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #1a73e8;
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    border-right-color: #34a853;
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: #ea4335;
    animation-delay: -0.15s;
}

.loading-text h3 {
    color: #202124;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.loading-text p {
    color: #5f6368;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: #f1f3f4;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #34a853, #ea4335, #fbbc04);
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
    background-size: 200% 100%;
}

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

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

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

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

@keyframes progress {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Alerts */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff3cd;
    color: #856404;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    max-width: 300px;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    font-size: 14px;
}

/* Result page styles */
.result-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.back-section {
    margin-bottom: 24px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4285f4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #3367d6;
}

.input-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.input-icon {
    width: 48px;
    height: 48px;
    background: #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.input-details h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.input-details p {
    color: #666;
    font-size: 14px;
}

.result-content {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.result-text {
    line-height: 1.7;
    color: #333;
}

.result-text strong {
    color: #4285f4;
    font-weight: 600;
}

/* Source links styling */
.source-link {
    color: #1a73e8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.source-link:hover {
    color: #174ea6;
    border-bottom-color: #1a73e8;
    text-decoration: none;
}

.source-link i {
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.7;
}

/* Sources section styling */
.result-text h3:contains("Quellen"),
.result-text strong:contains("Quellen") {
    border-top: 2px solid #e0e0e0;
    padding-top: 16px;
    margin-top: 24px;
}

/* Special styling for source lists */
.result-text ul {
    list-style: none;
    padding-left: 0;
}

.result-text li {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.result-text li:before {
    content: "🔗";
    position: absolute;
    left: 0;
    top: 0;
}

/* Sources section */
.sources-section {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sources-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sources-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

.source-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease;
}

.source-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.source-number {
    background: #4285f4;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.source-content {
    flex: 1;
}

.source-title {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.source-title:hover {
    color: #174ea6;
    text-decoration: none;
}

.source-title i {
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.7;
}

.source-url {
    color: #666;
    font-size: 12px;
    word-break: break-all;
    font-family: monospace;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.action-btn.primary {
    background: #4285f4;
    color: white;
}

.action-btn.primary:hover {
    background: #3367d6;
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.action-btn.secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 768px) {
    .main-container {
        padding: 16px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .search-container {
        border-radius: 16px;
    }
    
    .input-section {
        padding: 20px;
    }
    
    .search-box {
        border-radius: 20px;
    }
    
    .upload-area {
        padding: 30px 16px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .logo i {
        font-size: 28px;
    }
    
    .input-summary {
        flex-direction: column;
        text-align: center;
    }
}

/* Print styles */
/* Voice Input Section */
.voice-area {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 2rem;
}

.voice-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.microphone-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.microphone-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
    position: relative;
    z-index: 2;
}

.microphone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(26, 115, 232, 0.4);
}

.microphone-btn.recording {
    background: linear-gradient(135deg, #ea4335, #ff6b35);
    animation: pulse-btn 1.5s infinite;
}

.microphone-btn.processing {
    background: linear-gradient(135deg, #fbbc04, #ff9800);
    animation: pulse-btn 1s infinite;
}

.search-btn.auto-analyzing {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    animation: pulse-btn 1.2s infinite;
}

.search-btn.submitting {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    animation: pulse-btn 1s infinite;
    cursor: not-allowed;
}

.search-input.submitting {
    background: #f8f9fa;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    cursor: not-allowed;
    opacity: 0.8;
}

.upload-area.submitting {
    background: #e8f0fe;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    cursor: not-allowed;
    opacity: 0.8;
}

.upload-area.submitting .upload-icon {
    color: #1a73e8;
    animation: pulse 2s infinite;
}

.recording-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: none;
    z-index: 1;
}

.pulse {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(234, 67, 53, 0.2);
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-btn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.voice-text {
    font-size: 1.1rem;
    color: #5f6368;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.transcription-area {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid #e0e0e0;
}

.transcription-area h4 {
    color: #1a73e8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.transcription-text {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dadce0;
    font-size: 1rem;
    line-height: 1.5;
    color: #202124;
    min-height: 60px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Modern Results Interface */
.modern-result-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Compact Result Header */
.compact-result-header {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.compact-result-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #34a853, #ea4335, #fbbc04);
}

.result-main-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.result-claim-section {
    flex: 1;
    min-width: 0;
}

.result-evaluation-section {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    min-width: 200px;
}

.claim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.claim-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5f6368;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.claim-label i {
    color: #1a73e8;
}

.claim-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.input-type-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 16px;
    font-weight: 500;
    font-size: 0.75rem;
}

.timestamp-small {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #5f6368;
    font-size: 0.75rem;
}

.claim-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #1a73e8;
}

.claim-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #202124;
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

.evaluation-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5f6368;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evaluation-label i {
    color: #1a73e8;
}

.evaluation-badge-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    min-width: 160px;
    transition: all 0.3s ease;
}

.evaluation-badge-large i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.evaluation-badge-large.verified {
    background: #e8f5e8;
    color: #2e7d32;
}

.evaluation-badge-large.verified i {
    color: #2e7d32;
}

.evaluation-badge-large.false {
    background: #ffebee;
    color: #c62828;
}

.evaluation-badge-large.false i {
    color: #c62828;
}

.evaluation-badge-large.mixed {
    background: #fff3e0;
    color: #ef6c00;
}

.evaluation-badge-large.mixed i {
    color: #ef6c00;
}

.evaluation-badge-large.unknown {
    background: #f3e5f5;
    color: #7b1fa2;
}

.evaluation-badge-large.unknown i {
    color: #7b1fa2;
}

.evaluation-badge-large.analyzing {
    background: #e3f2fd;
    color: #1976d2;
}

.evaluation-badge-large.analyzing i {
    color: #1976d2;
    animation: spin 2s linear infinite;
}

/* Result Header (legacy - keeping for compatibility) */
.result-header {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.result-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #34a853, #ea4335, #fbbc04);
}

.compact-result-header .header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

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

.modern-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #5f6368;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid #dadce0;
    transition: all 0.2s ease;
    font-weight: 500;
}

.modern-back-btn:hover {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #1a73e8;
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #f8f9fa;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: #e8f0fe;
    color: #1a73e8;
    transform: scale(1.1);
}

.header-title h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #202124;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-title h1 i {
    color: #1a73e8;
}

.header-subtitle {
    color: #5f6368;
    font-size: 1rem;
    margin: 0;
}

/* Input Card */
.input-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-type-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

.timestamp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5f6368;
    font-size: 0.875rem;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: #202124;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #1a73e8;
}

.input-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #202124;
    font-style: italic;
    margin: 0;
}

.input-info {
    font-size: 1rem;
    color: #5f6368;
    margin: 0;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-main-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .result-evaluation-section {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .compact-result-header {
        padding: 1rem 1.5rem;
    }
    
    .result-main-content {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .claim-text {
        font-size: 1.1rem;
    }
    
    .evaluation-badge-large {
        min-width: auto;
        width: 100%;
    }
    
    .claim-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .claim-meta {
        width: 100%;
        justify-content: space-between;
    }
}

/* Analysis Cards */
.analysis-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.main-analysis {
    grid-row: span 2;
}

.analysis-card .card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
}

.analysis-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.analysis-badge.verified {
    background: #e8f5e8;
    color: #2e7d32;
}

.analysis-badge.false {
    background: #ffebee;
    color: #c62828;
}

.analysis-badge.mixed {
    background: #fff3e0;
    color: #ef6c00;
}

.analysis-badge.unknown {
    background: #f3e5f5;
    color: #7b1fa2;
}

.analysis-badge.analyzing {
    background: #e3f2fd;
    color: #1976d2;
}

/* Result Text Formatting */
.result-text {
    padding: 2rem;
    line-height: 1.7;
    color: #202124;
}

.analysis-section {
    margin: 2rem 0;
}

.analysis-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
}

.section-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202124;
    margin: 1.5rem 0 1rem 0;
    padding: 0.75rem 0;
    border-bottom: 2px solid #e0e0e0;
}

.highlight {
    background: linear-gradient(120deg, #a2d2ff 0%, #bde0ff 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.modern-source-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.modern-source-link:hover {
    background: #e8f0fe;
    text-decoration: underline;
}

/* Sources Card */
.sources-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5f6368;
    font-size: 0.875rem;
}

.sources-description {
    color: #5f6368;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.sources-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.source-tile {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.source-tile:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.source-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.source-number {
    width: 24px;
    height: 24px;
    background: #1a73e8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.source-domain {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #5f6368;
    font-size: 0.75rem;
}

.source-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.source-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.source-link:hover {
    background: #e8f0fe;
}

/* Details Card */
.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.detail-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
}

.detail-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #202124;
    margin: 0 0 0.25rem 0;
}

.detail-content p {
    font-size: 0.75rem;
    color: #5f6368;
    margin: 0;
}

/* Action Footer */
.action-footer {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5f6368;
    font-size: 0.875rem;
}

.footer-info i {
    color: #fbbc04;
}

.footer-actions {
    display: flex;
    gap: 1rem;
}

.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: #1a73e8;
    color: white;
}

.primary-btn:hover {
    background: #1557b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.secondary-btn {
    background: #f8f9fa;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.secondary-btn:hover {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #1a73e8;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.notification.success {
    border-left: 4px solid #34a853;
    color: #2e7d32;
}

.notification.info {
    border-left: 4px solid #1a73e8;
    color: #1565c0;
}

@media print {
    .modern-result-container {
        background: white;
        padding: 0;
        max-width: none;
    }
    
    .header-controls,
    .action-footer,
    .icon-btn {
        display: none !important;
    }
    
    .compact-result-header,
    .result-header {
        box-shadow: none;
        border: 1px solid #e0e0e0;
        page-break-inside: avoid;
    }
    
    .result-main-content {
        page-break-inside: avoid;
    }
    
    .analysis-card {
        box-shadow: none;
        border: 1px solid #e0e0e0;
        break-inside: avoid;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
} 