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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

#progress {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    width: 0%;
}

#progress-text {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

#results {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.summary {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.summary h2 {
    color: #333;
    margin-bottom: 20px;
}

.debug-info {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.debug-info h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

#debug-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.debug-item {
    background: white;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #667eea;
}

.debug-label {
    font-weight: bold;
    color: #667eea;
    margin-bottom: 4px;
}

.debug-value {
    color: #333;
    word-break: break-word;
}

#summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.summary-card.bot-detected {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.summary-card.human-likely {
    background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%);
    color: white;
}

.summary-card .label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.summary-card .value {
    font-size: 1.8rem;
    font-weight: bold;
}

.test-categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category h3 {
    color: #667eea;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.test-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #e0e0e0;
}

.test-item.pass {
    border-left-color: #51cf66;
}

.test-item.fail {
    border-left-color: #ff6b6b;
}

.test-item.warning {
    border-left-color: #ffd43b;
}

.test-name {
    font-weight: 500;
    color: #333;
}

.test-result {
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.test-status.pass {
    background: #d3f9d8;
    color: #2b8a3e;
}

.test-status.fail {
    background: #ffe3e3;
    color: #c92a2a;
}

.test-status.warning {
    background: #fff3bf;
    color: #e67700;
}

.test-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #666;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    #summary-content {
        grid-template-columns: 1fr;
    }
}
