.ddc-form {
    max-width: 650px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,.08);
}

.ddc-form input::placeholder,
.ddc-form textarea::placeholder {
    color: #999;
    opacity: 1;
    font-size: 14px;
}

.ddc-form h2 {
    margin-bottom: 25px;
}

.ddc-group {
    margin-bottom: 18px;
}

.ddc-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.ddc-group input,
.ddc-group select,
.ddc-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.ddc-options {
    display: flex;

    flex-wrap: wrap;
}

.ddc-option {
    cursor: pointer;
}

.ddc-option input {
    display: none;
}

.ddc-option span {
    display: block;
    padding: 13px 20px;
    border: 2px solid #ddd;
    border-radius: 7px;
    background: #fff;
}

.ddc-option input:checked + span {
    border-color: #1677ff;
    background: #eef5ff;
    color: #1677ff;
}

#ddc-submit {
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 7px;
    background: #1677ff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.ddc-phone-wrap {
    display: flex;
    width: 100%;
    gap: 8px;
}

.ddc-phone-wrap select {
    width: 85px;
    min-width: 85px;
    padding: 12px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}

.ddc-phone-wrap input {
    flex: 1;
    min-width: 0;
}

@media (max-width: 600px) {

    .ddc-phone-wrap {
        gap: 6px;
    }

    .ddc-phone-wrap select {
        width: 82px;
        min-width: 82px;
    }
}


#ddc-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.ddc-error {
    margin-bottom: 15px;
    padding: 12px;
    background: #ffe9e9;
    color: #b00020;
    border-radius: 6px;
}

.ddc-success {
    margin-bottom: 15px;
    padding: 12px;
    background: #e9fff0;
    color: #08752b;
    border-radius: 6px;
}

.ddc-option {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.ddc-option input[type="radio"] {
    display: none;
}

.ddc-option.selected {
    border-color: #0073aa;
    background: #0073aa;
    color: #fff;
}

.ddc-option:hover {
    border-color: #0073aa;
}