:root {
    --bg: #0f1115;
    --card: #1f2230;
    --accent: #4f80ff;
    --text: #e6e9ef;
    --muted: #9aa3b2;
    --success: #2ecc71;
    --error: #e74c3c;
}

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: auto;
}

.card {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-pw {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-header h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.notice {
    margin: 20px 0;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 500;
}

.notice.success {
    background: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.notice.error {
    background: rgba(231, 76, 60, 0.15);
    color: var(--error);
    border-left: 4px solid var(--error);
}

.accordion details {
    border-top: 1px solid #2a2f44;
    padding: 16px 0;
}

.accordion details:first-child {
    border-top: none;
}

.accordion summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
}

.accordion summary::marker {
    display: none;
}

.content {
    margin-top: 12px;
    padding-left: 8px;
}

p {
    margin-bottom: 12px;
}

.btn,
button {
    display: inline-block;
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
}

.btn:hover,
button:hover {
    background: #3f66d1;
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #111;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Responsive */
@media (max-width: 600px) {
    .card {
        padding: 16px;
        border-radius: 12px;
    }

    .card-header h1 {
        font-size: 1.5rem;
    }

    .btn,
    button {
        width: 100%;
        padding: 12px 0;
    }
}

.response {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}