/* CSS específico para a ferramenta types-checker */

.tool-header {
    background: var(--gradient-primary);
    padding: 40px 0 20px 0;
    text-align: center;
}
.tool-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.tool-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.tool-content {
    padding: 32px 0 24px 0;
}
.tool-description {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--box-shadow);
}
.tool-description h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.tool-description ul {
    margin-left: 24px;
    color: var(--text-light);
}

.tool-interface {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--box-shadow);
}
.file-upload {
    text-align: center;
    margin-bottom: 28px;
}
.upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 36px 16px;
    background: rgba(139, 92, 246, 0.05);
    cursor: pointer;
    transition: border 0.2s;
}
.upload-area:hover {
    border-color: var(--accent-color);
}
.upload-area i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.upload-area p {
    color: var(--text-light);
    margin-bottom: 8px;
}
.btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0 8px;
}
.btn:hover {
    background: var(--accent-color);
}
.btn-secondary {
    background: var(--secondary-color);
}
.btn-small {
    font-size: 0.95rem;
    padding: 6px 16px;
}
.checker-interface {
    margin-top: 20px;
}
.version-selector {
    margin-bottom: 18px;
}
.version-selector select {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: var(--dark-bg);
    color: var(--text-color);
}
.results-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.tab-btn {
    background: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 8px 16px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.tab-btn.active {
    background: var(--primary-color);
    color: #fff;
}
.count-badge {
    background: var(--danger-color);
    color: #fff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.9em;
    margin-left: 4px;
}
.tab-content {
    display: none;
    background: rgba(139, 92, 246, 0.04);
    border-radius: 0 0 8px 8px;
    padding: 18px 10px;
    margin-bottom: 12px;
}
.tab-content.active {
    display: block;
}
.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.tab-actions {
    display: flex;
    gap: 8px;
}
.items-table-container {
    overflow-x: auto;
}
.items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}
.items-table th, .items-table td {
    padding: 7px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.items-table th {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
}
.items-table td {
    color: var(--text-color);
    background: transparent;
}
.summary-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.stat-box {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 8px;
    padding: 14px 22px;
    min-width: 140px;
    text-align: center;
}
.compatibility-score {
    margin-top: 10px;
}
.progress-bar {
    width: 100%;
    height: 18px;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}
.progress {
    height: 100%;
    background: var(--success-color);
    transition: width 0.4s;
}
.score-value {
    font-size: 1.2rem;
    color: var(--success-color);
}
.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Tutorial */
.tool-tutorial {
    padding: 32px 0 32px 0;
    background: rgba(139, 92, 246, 0.03);
}
.tutorial-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.tutorial-step {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 18px 22px;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 320px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.step-number {
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 2px;
}
.step-content h3 {
    margin: 0 0 6px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}
.step-content p {
    color: var(--text-light);
    font-size: 0.97rem;
}

@media (max-width: 900px) {
    .tutorial-steps {
        flex-direction: column;
        align-items: stretch;
    }
    .tool-description, .tool-interface {
        padding: 18px;
    }
}
