/* Inherits professional styles */

.hmac-tool-container {
    max-width: 800px;
    margin: 0 auto;
}

.hmac-input-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #dfe6ed;
    border-radius: 8px;
    margin-bottom: 20px;
}

.code-editor {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid #dfe6ed;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    color: #334155;
    resize: vertical;
}

.code-editor:focus,
.text-input:focus {
    border-color: var(--ast-global-color-0, #0274be);
    outline: none;
}

.text-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dfe6ed;
    border-radius: 6px;
    font-size: 16px;
    font-family: monospace;
    color: #334155;
}

.hmac-controls {
    background: #f8fafc;
    padding: 20px;
    border: 1px solid #dfe6ed;
    border-radius: 8px;
    margin-bottom: 20px;
}

.algo-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.algo-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.algo-options input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.hmac-output-section {
    background: #fff;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.result-group {
    margin-bottom: 15px;
}

.result-group:last-child {
    margin-bottom: 0;
}

.result-group .label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.output-wrapper {
    display: flex;
    gap: 10px;
}

.output-wrapper input {
    flex-grow: 1;
    padding: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #334155;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 15px;
}

.section-label {
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 8px;
}