.ddm-registration-wrapper {
    max-width: 850px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    font-family: Arial, Helvetica, sans-serif;
    color: #17202a;
}

.ddm-registration-header {
    padding: 42px 35px 32px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #063f32,
        #087a49
    );
    color: #ffffff;
}

.ddm-registration-badge {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
}

.ddm-registration-header h2 {
    margin: 16px 0 10px;
    font-size: 30px;
    line-height: 1.25;
}

.ddm-registration-header p {
    margin: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: rgba(255,255,255,.9);
}

.ddm-course-summary {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    padding: 22px;
    background: #f8faf9;
    border-bottom: 1px solid #e7ebe9;
}

.ddm-summary-item {
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e4e9e6;
    border-radius: 13px;
    text-align: center;
}

.ddm-summary-item strong,
.ddm-summary-item span {
    display: block;
}

.ddm-summary-item strong {
    font-size: 13px;
    margin-bottom: 7px;
    color: #087a49;
}

.ddm-summary-item span {
    font-size: 14px;
    font-weight: 700;
}

.ddm-payment-reminder {
    margin: 25px 30px 0;
    padding: 18px 20px;
    background: #fff8e8;
    border: 1px solid #ead49b;
    border-radius: 13px;
}

.ddm-payment-reminder strong {
    color: #8a6412;
}

.ddm-payment-reminder p {
    margin: 7px 0 0;
    line-height: 1.7;
    color: #5e502d;
}

.ddm-registration-form {
    padding: 30px;
}

.ddm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ddm-form-group {
    margin-bottom: 20px;
}

.ddm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #27332e;
}

.ddm-form-group label span {
    color: #d63638;
}

.ddm-form-group input,
.ddm-form-group select {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #d5ddd9;
    border-radius: 10px;
    background: #ffffff;
    color: #17202a;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: .2s ease;
}

.ddm-form-group input:focus,
.ddm-form-group select:focus {
    border-color: #087a49;
    box-shadow: 0 0 0 3px rgba(8,122,73,.10);
}

.ddm-receipt-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 20px;
    margin: 10px 0 22px;
    border: 1px dashed #aebdb5;
    border-radius: 14px;
    background: #f8fbf9;
}

.ddm-receipt-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e5f3ec;
    font-size: 23px;
}

.ddm-receipt-box h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.ddm-receipt-box p {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.5;
    color: #5e6863;
}

.ddm-receipt-box small {
    color: #087a49;
    font-weight: 600;
}

.ddm-receipt-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ddm-consent {
    margin-bottom: 20px;
}

.ddm-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #53605a;
}

.ddm-consent input {
    margin-top: 4px;
    accent-color: #087a49;
}

.ddm-submit-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 11px;
    background: #087a49;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.ddm-submit-button:hover {
    background: #065f3a;
    transform: translateY(-1px);
}

.ddm-submit-button:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.ddm-loading {
    display: none;
}

.ddm-registration-form.is-loading .ddm-submit-text {
    display: none;
}

.ddm-registration-form.is-loading .ddm-loading {
    display: inline;
}

.ddm-form-message {
    display: none;
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.ddm-form-message.error {
    display: block;
    background: #fff0f0;
    border: 1px solid #efb4b4;
    color: #9b2020;
}

.ddm-success-box {
    margin: 30px;
    padding: 45px 25px;
    text-align: center;
    background: #f0faf5;
    border: 1px solid #b8dfca;
    border-radius: 18px;
}

.ddm-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #087a49;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
}

.ddm-success-box h2 {
    margin: 0 0 12px;
    color: #075f3a;
}

.ddm-success-box p {
    max-width: 600px;
    margin: 8px auto;
    line-height: 1.7;
    color: #47564e;
}

.ddm-success-note {
    max-width: 600px;
    margin: 20px auto 0;
    padding: 14px;
    background: #ffffff;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.ddm-hp {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 700px) {

    .ddm-registration-wrapper {
        margin: 20px 10px;
        border-radius: 16px;
    }

    .ddm-registration-header {
        padding: 32px 20px 26px;
    }

    .ddm-registration-header h2 {
        font-size: 24px;
    }

    .ddm-course-summary {
        grid-template-columns: 1fr 1fr;
        padding: 15px;
    }

    .ddm-payment-reminder {
        margin: 18px 18px 0;
    }

    .ddm-registration-form {
        padding: 20px;
    }

    .ddm-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ddm-receipt-box {
        align-items: flex-start;
    }

    .ddm-success-box {
        margin: 20px;
    }
}

@media (max-width: 430px) {

    .ddm-course-summary {
        grid-template-columns: 1fr;
    }

    .ddm-registration-header h2 {
        font-size: 21px;
    }

    .ddm-registration-form {
        padding: 16px;
    }

    .ddm-receipt-box {
        padding: 15px;
    }
}