:root {
    --bg-color: #ffffff;
    --text-color: #202020;
    --muted-color: #666;
    --border-color: #eaeaea;
    --accent-color: #0071e3;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header */
.tool-header {
    width: 100%;
    padding: 40px 20px 20px 20px;
    display: flex;
    justify-content: center;
}

.tool-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

/* Main Content */
main {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.generator-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Input Group */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

textarea {
    width: 100%;
    height: 200px;
    background: #f5f5f7;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 15px;
    resize: vertical;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

textarea:focus {
    background: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* Output Group */
.output-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hash-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hash-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.hash-value-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    transition: background 0.2s;
}

.hash-value-container:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.hash-value-container input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 14px;
    color: #444;
    outline: none;
    width: 100%;
}

.copy-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

/* Footer */
.tool-footer {
    width: 100%;
    padding: 40px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}