.ddap-card {
    max-width: 820px;
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #dcdcde;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.ddap-card h2 {
    margin-top: 0;
}

.ddap-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.ddap-form-inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.ddap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ddap-form label {
    display: block;
    font-weight: 700;
}

.ddap-form input,
.ddap-form select,
.ddap-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #c3c4c7;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.ddap-form textarea {
    resize: vertical;
}

.ddap-form button {
    padding: 13px 18px;
    border: 0;
    border-radius: 10px;
    background: #1d2327;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.ddap-form button:hover,
.ddap-form button:focus {
    background: #2c3338;
}

.ddap-alert {
    padding: 13px 15px;
    border-radius: 10px;
    margin: 16px 0;
}

.ddap-alert-error {
    background: #fcf0f1;
    color: #8a2424;
    border: 1px solid #f3c2c7;
}

.ddap-alert-success {
    background: #edfaef;
    color: #155724;
    border: 1px solid #badbcc;
}

.ddap-alert-info {
    background: #eef6ff;
    color: #0b4f7a;
    border: 1px solid #b6daff;
}

.ddap-result {
    padding: 16px;
    background: #f6f7f7;
    border-radius: 12px;
    margin: 16px 0;
}

.ddap-result-highlight {
    background: linear-gradient(135deg, #111827, #374151);
    color: #fff;
}

.ddap-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}

.ddap-code,
.ddap-code-large {
    font-weight: 900;
    letter-spacing: 0.04em;
    word-break: break-word;
}

.ddap-code-large {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
}

@media (max-width: 700px) {
    .ddap-grid,
    .ddap-form-inline {
        grid-template-columns: 1fr;
    }
}
