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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    min-height: 100vh;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    max-width: 700px;
    margin: 0 auto;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-family: 'Arimo', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    text-align: center;
}

.card-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.verify-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-input {
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    padding: 18px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    color: #1f2937;
    transition: all 0.3s ease;
    outline: none;
}

.video-input:focus {
    border-color: #2d2d2d;
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 45, 45, 0.1);
}

.video-input::placeholder {
    color: #9ca3af;
}

.check-button {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 32px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 45, 45, 0.4);
}

.check-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 45, 45, 0.5);
}

.check-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(45, 45, 45, 0.4);
}

.check-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    font-size: 20px;
}

.button-text {
    letter-spacing: 0.5px;
}

.error-message {
    margin-top: 20px;
    padding: 16px 20px;
    background: #fee2e2;
    border: 2px solid #ef4444;
    border-radius: 12px;
    color: #991b1b;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

#verifiedVideosCard {
    margin-top: 30px;
}

.verified-videos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding: 5px;
}

.verified-videos-list::-webkit-scrollbar {
    width: 8px;
}

.verified-videos-list::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.verified-videos-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.verified-videos-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.verified-video-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.verified-video-item:hover {
    background: #f3f4f6;
    border-color: #2d2d2d;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(45, 45, 45, 0.15);
}

.video-item-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.video-item-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.2);
}

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

.video-item-id {
    font-family: monospace;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.video-item-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #6b7280;
}

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

.video-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 8px;
    color: #2d2d2d;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 18px;
}

.video-item-link:hover {
    background: #2d2d2d;
    color: white;
    transform: scale(1.1);
}

.loading-state,
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

#resultsContainer {
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#resultsContainer .header {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: left;
}

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

#resultsContainer .logo {
    justify-content: flex-start;
    margin-bottom: 0;
}

#resultsContainer .logo-text h1 {
    font-size: 28px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.report-id {
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    font-family: monospace;
}

.header-meta {
    display: flex;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
    flex-wrap: wrap;
}

.header-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.verdict-card {
    background: #ffffff !important;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-left: 6px solid #f59e0b;
    position: relative;
    overflow: hidden;
}

#resultsContainer .verdict-card {
    background: #ffffff !important;
    margin-bottom: 40px !important;
}

.verdict-card::before {
    display: none;
}

.verdict-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.verdict-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.verdict-info h2 {
    font-size: 32px;
    color: #f59e0b;
    font-weight: 700;
    margin-bottom: 8px;
}

.confidence-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
}

.confidence-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    width: 70%;
    transition: width 1s ease;
}

.rationale {
    font-size: 17px;
    color: #374151;
    line-height: 1.8;
    padding: 20px;
    background: #f9fafb !important;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    margin-top: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px !important;
    margin-bottom: 40px !important;
}

#resultsContainer .card {
    margin-bottom: 40px !important;
    background: #ffffff !important;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    transition: background 0.2s;
}

.info-row:hover {
    background: #f3f4f6;
}

.info-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 14px;
}

.info-value {
    color: #1f2937;
    font-weight: 500;
    text-align: right;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    padding: 10px 16px;
    background: #f3f4f6;
    border-radius: 8px;
    transition: all 0.2s;
}

.video-link:hover {
    background: #e5e7eb;
    transform: translateX(4px);
}

.finding-item {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #2d2d2d;
    transition: transform 0.2s, box-shadow 0.2s;
}

.finding-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.finding-item strong {
    color: #2d2d2d;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.finding-item p {
    color: #4b5563;
    line-height: 1.6;
}

.evidence-list {
    list-style: none;
    padding: 0;
}

.evidence-list li {
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #fffbeb;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.evidence-list li::before {
    content: '•';
    color: #f59e0b;
    font-weight: bold;
    font-size: 24px;
}

.recommendations-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    line-height: 1.8;
}

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

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

.technical-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.technical-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.technical-value {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.json-output {
    background: #1f2937;
    color: #10b981;
    padding: 25px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    white-space: pre-wrap;
    line-height: 1.6;
    max-height: 500px;
    overflow-y: auto;
}

.json-output::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.json-output::-webkit-scrollbar-track {
    background: #111827;
    border-radius: 4px;
}

.json-output::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

.footer {
    text-align: center;
    padding: 40px 20px 20px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .logo-text h1 {
        font-size: 32px;
    }
    
    .card {
        padding: 40px 30px;
    }
    
    .card-title {
        font-size: 26px;
    }
    
    .card-description {
        font-size: 15px;
    }
    
    .video-input {
        font-size: 16px;
        padding: 16px 18px;
    }
    
    .check-button {
        font-size: 16px;
        padding: 16px 28px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .technical-grid {
        grid-template-columns: 1fr;
    }
    
    #resultsContainer .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .verdict-header {
        flex-direction: column;
        text-align: center;
    }
    
    .verdict-info h2 {
        font-size: 24px;
    }
    
    #resultsContainer .header {
        padding: 30px 20px;
    }
    
    .verified-video-item {
        padding: 14px 16px;
    }
    
    .video-item-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .video-item-id {
        font-size: 14px;
    }
    
    .video-item-date {
        font-size: 12px;
    }
}

