/* Hash Generator - tool-specific styles (scoped with hg- prefix) */

.hg-card { padding: 28px 30px; }
.hg-title-bar h1 { font-size: 1.5em; font-weight: 800; margin: 0 0 20px; color: #23272f; }

.hg-input-wrap label { display: block; font-size: .88em; font-weight: 700; color: #23272f; margin-bottom: 8px; }
.hg-input-wrap textarea {
    width: 100%;
    resize: vertical;
    min-height: 110px;
    padding: 14px 16px;
    border: 1px solid #dfe2e8;
    border-radius: 10px;
    font-family: "Courier New", monospace;
    font-size: .95em;
    line-height: 1.6;
    color: #23272f;
    background: #f9fafb;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.hg-input-wrap textarea:focus {
    outline: none;
    border-color: var(--site-light);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .12);
    background: #fff;
}

.hg-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.hg-generate-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--site-dark), var(--site-dark-2));
    color: #fff; border: none; border-radius: 10px;
    padding: 11px 22px; font-size: .92em; font-weight: 700;
    cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.hg-generate-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15, 118, 110, .28); }
.hg-generate-btn:active { transform: translateY(0); }
.hg-live-note { font-size: .82em; color: #9aa0aa; display: inline-flex; align-items: center; gap: 6px; }
.hg-live-note i { color: var(--site-accent); }

.hg-results { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.hg-result-row {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px 16px;
    background: #f7f8fa;
    transition: opacity .15s ease;
}
.hg-result-row.hg-pending { opacity: .55; }
.hg-result-label {
    font-size: .78em; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--site-dark); margin-bottom: 6px;
}
.hg-result-value-wrap { display: flex; align-items: center; gap: 10px; }
.hg-result-value {
    flex: 1;
    display: block;
    font-family: "Courier New", monospace;
    font-size: .92em;
    word-break: break-all;
    color: #23272f;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 10px 12px;
    min-height: 1.4em;
}
.hg-result-value:empty::before { content: "Computing..."; color: #9aa0aa; font-style: italic; }
.hg-result-value.hg-error { color: var(--site-danger); }

.hg-copy-btn {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #dfe2e8;
    border-radius: 8px;
    background: #fff;
    color: var(--site-dark);
    cursor: pointer;
    font-size: .95em;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.hg-copy-btn:hover { background: var(--site-light); border-color: var(--site-light); color: #fff; }
.hg-copy-btn.hg-copied { background: var(--site-success); border-color: var(--site-success); color: #fff; }

@media (max-width: 600px) {
    .hg-card { padding: 22px 18px; }
    .hg-result-value { font-size: .82em; }
    .hg-copy-btn { width: 34px; height: 34px; }
}
