:root {
    --navy: #102b50;
    --blue: #194b80;
    --orange: #f58220;
    --bg: #f4f6fa;
    --text: #26364b;
    --muted: #8995a5;
    --border: #e5eaf1;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
}

/* Header */
.top-header {
    background: #fff;
    padding: 15px 5%;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 165px;
    max-height: 55px;
    object-fit: contain;
}

.header-login {
    font-size: 14px;
    color: #66758a;
}

.header-login a {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

/* Main */
.main-wrapper {
    max-width: 1180px;
    margin: 35px auto;
    padding: 0 18px;
}

.registration-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(16,43,80,.07);
}

/* Sidebar */
.sidebar {
    background: linear-gradient(160deg, #102b50, #194b80);
    padding: 40px 28px;
    color: white;
    position: relative;
    overflow: hidden;
}

.sidebar:after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    bottom: -120px;
    right: -100px;
}

.sidebar-label {
    display: inline-block;
    background: rgba(245,130,32,.17);
    color: #ffad65;
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.sidebar h2 {
    font-size: 27px;
    font-weight: 750;
    line-height: 1.3;
    margin-bottom: 14px;
}

.sidebar p {
    font-size: 13px;
    color: #c7d6e9;
    line-height: 1.8;
}

.sidebar-line {
    width: 50px;
    height: 4px;
    background: var(--orange);
    border-radius: 5px;
    margin: 22px 0;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 23px;
    font-size: 13px;
    color: #e1eaf5;
}

.benefit i {
    color: #ff9b46;
    margin-top: 3px;
}

/* Form Area */
.form-area {
    padding: 35px 42px 40px;
}

.form-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.form-heading h3 {
    font-size: 24px;
    font-weight: 750;
    color: var(--navy);
    margin: 0 0 6px;
}

.form-heading p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.step-badge {
    background: #fff4eb;
    color: #e87516;
    padding: 8px 13px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Sections */
.form-section {
    margin-top: 30px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}

.section-icon {
    width: 37px;
    height: 37px;
    background: #edf3fa;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
}

.section-heading h5 {
    font-size: 15px;
    font-weight: 750;
    color: var(--navy);
    margin: 0;
}

.section-heading small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

/* Inputs */
.form-label {
    font-size: 12px;
    font-weight: 700;
    color: #42536a;
    margin-bottom: 8px;
}

.required { color: #e34d4d; }

.form-control, .form-select {
    min-height: 46px;
    border: 1px solid #e0e6ef;
    border-radius: 7px;
    padding: 10px 13px;
    font-size: 13px;
    color: #34445a;
    background-color: #fff;
}

textarea.form-control {
    min-height: 85px;
    resize: vertical;
}

.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(25,75,128,.09);
}

.form-control::placeholder {
    color: #aab4c1;
}

/* Upload */
.upload-box {
    border: 1px dashed #cbd6e4;
    border-radius: 8px;
    padding: 14px;
    background: #fafbfd;
}

.upload-box .form-control {
    border: none;
    background: transparent;
    padding: 4px;
    min-height: auto;
}

.upload-box small {
    color: #929eae;
    font-size: 11px;
}

/* Password */
.password-wrap {
    position: relative;
}

.password-wrap .form-control {
    padding-right: 42px;
}

.password-toggle {
    position: absolute;
    right: 13px;
    top: 13px;
    color: #929eae;
    cursor: pointer;
}

/* Submit */
.terms {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px;
    margin-top: 25px;
    font-size: 12px;
    color: #64748b;
}

.terms .form-check-input:checked {
    background-color: var(--orange);
    border-color: var(--orange);
}

.submit-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 750;
    transition: .25s;
}

.submit-btn:hover {
    background: #df6e12;
    transform: translateY(-1px);
}

.bottom-login {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #8290a1;
}

.bottom-login a {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px;
    color: #929eae;
    font-size: 12px;
}

/* Responsive */
@media(max-width: 900px) {
    .registration-card {
        grid-template-columns: 1fr;
    }

    .sidebar {
        padding: 28px;
    }

    .sidebar h2 { font-size: 23px; }

    .benefit {
        display: inline-flex;
        margin-right: 18px;
    }

    .form-area { padding: 30px; }
}

@media(max-width: 576px) {
    .top-header { padding: 13px 17px; }
    .logo { width: 135px; }
    .main-wrapper { margin: 18px auto; padding: 0 12px; }
    .form-area { padding: 23px 17px; }
    .sidebar { padding: 25px 20px; }
    .form-heading h3 { font-size: 21px; }
    .step-badge { font-size: 10px; }
}