@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

h1, h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    background: -webkit-linear-gradient(45deg, #8A2BE2, #4B0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    text-align: center;
    margin-bottom: 40px;
    color: #a0a0a0;
}

.card, .card-hasil {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #8A2BE2;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #4B0082;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

button:hover {
    background-color: #5a009a;
}

button:active {
    transform: scale(0.98);
}

.card-hasil {
    position: relative;
}

.copy-icon-button {
    position: absolute;
    top: 25px;
    right: 25px;
    width: auto; /* Override width: 100% dari button umum */
    padding: 6px;
    background-color: #3a3a5e;
    border: 1px solid #555;
}

.copy-icon-button:hover {
    background-color: #4a4e69;
}

.copy-icon-button svg {
    stroke: #e0e0e0;
}