* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #f1f5f9;
    min-height: 100vh;
}

/* Wrapper */

.wrapper {
    width: 100%;
    padding: 40px 15px;
    display: flex;
    justify-content: center;
}

/* Main Card */

.registration-box {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Header */

.header {
    background: linear-gradient(135deg, #0866ff, #003caa);
    color: white;
    text-align: center;
    padding: 35px 20px;
}

.logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 15px;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.header p {
    font-size: 14px;
    line-height: 22px;
    opacity: 0.9;
}

.header h2 {
    margin-top: 25px;
    font-size: 22px;
}

/* Step Navigation */

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 25px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-weight: 600;
}

.step span {
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    border-radius: 50%;
    font-weight: bold;
}

.step.active {
    color: #0866ff;
}

.step.active span {
    background: #0866ff;
    color: white;
}

/* Form */

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.section {
    margin: 25px;
    padding: 25px;

    border: 1px solid #e5e7eb;
    border-radius: 15px;

    background: #fff;
}

.section h3,
.payment-section h3 {
    font-size: 21px;
    margin-bottom: 22px;
    color: #111827;
}

/* Grid */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: 1/-1;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 15px;

    border: 1px solid #d1d5db;
    border-radius: 10px;

    font-size: 15px;

    outline: none;

    background: white;

    transition: 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #0866ff;

    box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.12);
}

textarea {
    resize: none;
}

input[readonly] {
    background: #f3f4f6;
    color: #555;
}

/* Next Button */

.next-btn {
    display: block;

    margin: 35px 25px 35px auto;

    padding: 14px 40px;

    min-width: 150px;

    height: 50px;

    background: #0866ff;

    color: white;

    border: none;

    border-radius: 10px;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.next-btn:hover {
    background: #004dcc;
}

/* Payment Section */

.payment-section {
    margin: 25px;

    padding: 35px;

    border: 1px solid #e5e7eb;

    border-radius: 15px;

    text-align: center;
}

.qr-image {
    width: 260px;

    max-width: 100%;

    margin: 20px auto;

    display: block;

    border-radius: 10px;
}

.payment-section p {
    color: #555;
    margin-bottom: 25px;
}

/* Bottom Buttons */

.buttons {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin: 35px 25px;

    padding-top: 25px;

    border-top: 1px solid #e5e7eb;
}

.back-btn,
.submit-btn {
    height: 50px;

    min-width: 170px;

    padding: 0 30px;

    border: none;

    border-radius: 10px;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.back-btn {
    background: #6b7280;
    color: white;
}

.back-btn:hover {
    background: #4b5563;
}

.submit-btn {
    background: #0866ff;
    color: white;
}

.submit-btn:hover {
    background: #004dcc;
}

/* Mobile Responsive */

@media (max-width: 768px) {
    .wrapper {
        padding: 15px;
    }

    .header {
        padding: 25px 15px;
    }

    .header h1 {
        font-size: 22px;
    }

    .header h2 {
        font-size: 18px;
    }

    .steps {
        flex-direction: column;

        gap: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .section {
        margin: 15px;

        padding: 20px;
    }

    .next-btn {
        width: calc(100% - 30px);

        margin: 25px 15px;
    }

    .buttons {
        flex-direction: column;

        margin: 25px 15px;
    }

    .back-btn,
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .registration-box {
        border-radius: 12px;
    }

    .header h1 {
        font-size: 20px;
    }

    .section h3 {
        font-size: 18px;
    }

    input,
    textarea,
    select {
        font-size: 14px;

        padding: 12px;
    }
}
