* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f1f5f9;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: #1e293b;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

p {
    text-align: center;
    color: #94a3b8;
}

textarea {
    background-color: #ffffff;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 1rem;
    height: 120px;
    resize: none;
    outline: none;
}

button {
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #2563eb;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.copy-btn {
    background-color: #22c55e;
}

.copy-btn:hover {
    background-color: #16a34a;
}

#result {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tag {
    background-color: #334155;
    color: #38bdf8;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
}

.tag:hover {
    background-color: #475569;
}
