.checker-workspace {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.color-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

@media (min-width: 600px) {
    .color-inputs {
        flex-direction: row;
        justify-content: center;
    }
}

.color-picker-group {
    flex: 1;
    width: 100%;
}

.color-picker-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.color-input-wrapper {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    align-items: center;
}

input[type="color"] {
    width: 50px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

input[type="text"] {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 1rem;
    font-family: monospace;
    text-transform: uppercase;
}

input[type="text"]:focus {
    outline: none;
}

.exchange-btn {
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.exchange-btn:hover {
    background: #e0e0e0;
}

.preview-box {
    border: 2px solid #eee;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.2s;
}

.preview-text-normal {
    font-size: 16px;
    margin-bottom: 10px;
}

.preview-text-large {
    font-size: 24px;
    font-weight: bold;
}

.result-area {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.ratio-display {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.ratio-label {
    font-size: 1rem;
    color: #777;
    margin-right: 10px;
    font-weight: normal;
}

#ratingTag {
    display: inline-block;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
    color: white;
}

/* Rating colors */
.rating-perfect {
    background: #4CAF50;
}

.rating-good {
    background: #8BC34A;
}

.rating-poor {
    background: #FF9800;
}

.rating-fail {
    background: #F44336;
}

.wcag-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.wcag-card {
    flex: 1;
    min-width: 250px;
    background: #fafafa;
    padding: 15px;
    border-radius: 6px;
}

.wcag-card h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
}

.wcag-card .note {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

.wcag-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.status {
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.status.pass {
    color: #2e7d32;
    background: #e8f5e9;
}

.status.fail {
    color: #c62828;
    background: #ffebee;
}