body {
    margin: 0;
    font-family: Arial, sans-serif;

    background-image: url("Assets/index_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* FULL PAGE CENTER WRAPPER */
.signup-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 100px 15px 40px;

    background: rgba(0, 0, 0, 0.55);
}

/* FORM CONTAINER */
.signup-container {
    width: 100%;
    max-width: 820px;
    height: 680px;

    background: white;
    padding: 30px;
    border-radius: 10px;

    position: relative;
    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* STEP INDICATOR */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 20px;
}

.step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;

    background: #ddd;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    transition: 0.3s;
}

.step-circle i {
    font-size: 20px;
}

.step-circle.active {
    background: #075136;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step-circle.completed {
    background: #3b8467;
}

.step-circle:hover {
    transform: scale(1.05);
}

/* FORM STEPS */
.form-step {
    position: absolute;
    top: 90px;
    left: 30px;
    right: 30px;

    max-height: 510px;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 8px;
    padding-left: 5px;
    padding-bottom: 10px;

    box-sizing: border-box;

    opacity: 0;
    pointer-events: none;

    transition: 0.25s ease;
}

.form-step.active {
    opacity: 1;
    pointer-events: auto;
}

/* SCROLLBAR */
.form-step::-webkit-scrollbar {
    width: 7px;
}

.form-step::-webkit-scrollbar-thumb {
    background: #b9c9c1;
    border-radius: 20px;
}

.form-step::-webkit-scrollbar-track {
    background: #f2f4f3;
}

/* SECTION HEADINGS */
.section-title {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e7e4;
}

.section-title h2 {
    margin: 0 0 5px;
    color: #075136;
    font-size: 1.25rem;
    font-weight: 700;
}

.section-title p {
    margin: 0;
    color: #68746e;
    font-size: 0.88rem;
}

.section-divider {
    margin: 20px 0;
    border-color: #d8dfdb;
    opacity: 1;
}

/* INPUT LOOK CONSISTENCY */
.form-control,
.form-select {
    margin-bottom: 10px;
    min-height: 38px;
}

.form-label {
    color: #075136;
    font-weight: 600;
}

.required-mark {
    color: #c62828;
    font-weight: 700;
}

.field-note {
    color: #68746e;
    font-size: 0.78rem;
    line-height: 1.4;
}

/* CONDITIONAL SECTIONS */
.conditional-section {
    display: none;
    margin-bottom: 15px;
}

.conditional-section.show {
    display: block;
}

.conditional-card {
    padding: 15px;
    background: #eef6f2;
    border: 1px solid #cfe0d8;
    border-radius: 8px;
}

/* MEMBERSHIP OPTIONS */
.membership-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.membership-options label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #34453d;
}


/* POSTGRADUATE REPEATABLE ROWS */
.postgraduate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.postgraduate-row {
    margin-bottom: 12px;
    padding: 12px;

    background: #f7f9f8;

    border: 1px solid #dde4e0;
    border-left: 4px solid #075136;
    border-radius: 8px;
}

.postgraduate-row:last-child {
    margin-bottom: 0;
}

.remove-postgraduate-column {
    display: flex;
    align-items: flex-start;
}

.remove-postgraduate-btn {
    width: 38px;
    height: 38px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ORGANIZATION */
.organization-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.position-row {
    margin-bottom: 12px;
    padding: 12px;
    background: #f7f9f8;
    border: 1px solid #dde4e0;
    border-radius: 8px;
}

.remove-position-column {
    display: flex;
    align-items: flex-start;
}

.remove-position-btn {
    width: 38px;
    height: 38px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* PAYMENT */
.payment-summary {
    margin-bottom: 15px;
    padding: 12px 14px;

    color: #34453d;
    background: #f3f8f5;

    border-left: 4px solid #075136;
    border-radius: 5px;

    font-size: 0.88rem;
    line-height: 1.45;
}

/* TERMS */
.terms-box {
    max-height: 190px;
    overflow-y: auto;

    margin-bottom: 15px;
    padding: 14px;

    background: #f7f9f8;
    border: 1px solid #dce3df;
    border-radius: 8px;

    color: #3f4e47;
    line-height: 1.5;
}

.terms-box li {
    margin-bottom: 7px;
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    color: #2f3d36;
    font-size: 0.92rem;
}

/* BUTTON AREA FIXED */
.form-navigation {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
}

/* BUTTONS */
.btn-success {
    background-color: #075136;
    border-color: #075136;
}

.btn-success:hover {
    background-color: #06452d;
    border-color: #06452d;
}

.btn-outline-success {
    color: #075136;
    border-color: #075136;
}

.btn-outline-success:hover {
    background-color: #075136;
    border-color: #075136;
}

/* CHECKBOX */
.green-checkbox {
    accent-color: #075136;
}

/* PASSWORD INPUT GROUP */
.input-group .btn {
    min-width: 48px;
}

.input-group .form-control,
.input-group .btn {
    height: 38px;
}

/* TABLET / SMALL LAPTOP */
@media (max-width: 992px) {

    .signup-container {
        max-width: 760px;
        height: 690px;
    }

    .form-step {
        max-height: 520px;
    }
}

/* PHONE */
@media (max-width: 768px) {

    .signup-page {
        align-items: flex-start;
        padding-top: 90px;
        padding-bottom: 25px;
    }

    .signup-container {
        height: auto;
        min-height: 760px;

        padding: 22px 18px;
        border-radius: 8px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
    }

    .step-circle i {
        font-size: 18px;
    }

    .form-step {
        top: 82px;
        left: 18px;
        right: 18px;

        max-height: 590px;
    }

    .form-control,
    .form-select {
        font-size: 0.95rem;
    }

    .form-navigation {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .form-navigation .btn {
        width: auto;
        min-width: 90px;
    }

    .organization-header,
    .postgraduate-header {
        align-items: stretch;
        flex-direction: column;
    }

    .organization-header .btn,
    .postgraduate-header .btn {
        width: 100%;
    }

    .membership-options {
        flex-direction: column;
        gap: 10px;
    }

    .remove-position-column,
    .remove-postgraduate-column {
        align-items: flex-end;
    }
}

/* SMALL PHONES */
@media (max-width: 480px) {

    .signup-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .signup-container {
        min-height: 790px;
        padding: 20px 15px;
    }

    .form-step {
        left: 15px;
        right: 15px;
        max-height: 620px;
    }

    .step-indicator {
        gap: 10px !important;
    }

    .step-circle {
        width: 38px;
        height: 38px;
    }

    .form-navigation {
        left: 15px;
        right: 15px;
    }

    .form-navigation .btn {
        min-width: 82px;
    }

    .terms-box {
        max-height: 220px;
    }
}