button {
    background-color: #6a4c93;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    padding: 0.6em 1.4em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #5a3c82;
    transform: scale(1.03);
}

button:active {
    background-color: #4a2c6d;
    transform: scale(0.98);
}

.button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 76, 147, 0.5);
}

input {
    padding: 0.4em 0.6em;
    font-family: 'Noto Serif JP', serif;
    border: 1px solid #767676;
    background-color: #323232;
    color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

select {
    padding: 0.4em 0.6em;
    background-color: #323232;
    color: #fff;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    border: 1px solid #767676;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    background-color: #323232;
    color: #fff;
    resize: vertical;
}

.form-group textarea:focus {
    border-color: #7aa6d4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(122, 166, 212, 0.3);
}

.actions {
    margin-top: 2rem;
}

.alert-success {
    background-color: rgba(220, 255, 230, 0.85);
    color: #256029;
    border: 1px solid #a3e4b1;
    padding: 1em 1.5em;
    border-radius: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 1.5em;
    animation: fadeIn 0.6s ease-out;
}

.alert-success .emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
