/* Digital Fortrydelse – formular CSS */

.df-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: inherit;
}

.df-title {
    font-size: 1.6em;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.df-intro {
    color: #555;
    margin-bottom: 28px;
    line-height: 1.6;
    border-left: 3px solid #1a1a2e;
    padding-left: 14px;
}

/* Grid layout */
.df-wrap .df-field {
    margin-bottom: 18px;
}

.df-wrap .df-field--half {
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
    margin-right: 12px;
    margin-bottom: 18px;
}

.df-wrap .df-field--half:nth-child(even) {
    margin-right: 0;
}

@media (max-width: 560px) {
    .df-wrap .df-field--half {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

/* Labels */
.df-wrap label {
    display: block;
    font-size: 0.88em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}

/* Inputs */
.df-wrap input[type="text"],
.df-wrap input[type="email"],
.df-wrap textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 0.95em;
    font-family: inherit;
    color: #222;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}

.df-wrap input[type="text"]:focus,
.df-wrap input[type="email"]:focus,
.df-wrap textarea:focus {
    border-color: #1a1a2e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,26,46,0.08);
}

.df-wrap textarea {
    resize: vertical;
    min-height: 90px;
}

/* Required note */
.df-required-note {
    font-size: 0.8em;
    color: #999;
    margin: 4px 0 20px;
}

/* Submit button */
.df-btn {
    display: inline-block;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s ease, transform 0.1s ease;
}

.df-btn:hover {
    background: #2d2d4e;
}

.df-btn:active {
    transform: scale(0.98);
}

.df-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Notices */
.df-notice {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.df-notice.df-error {
    background: #fff3f3;
    border: 1.5px solid #fca5a5;
    color: #b91c1c;
}

.df-notice.df-success {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #166534;
}

.df-notice.df-success strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05em;
}
