/* =============================================
   Register Page — Register.css
   ============================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.register-page {
    display: flex;
    min-height: 100vh;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ══════════════════════════════
   LEFT PANEL — Orange
══════════════════════════════ */
.register-left {
    flex: 0 0 50%;
    max-width: 50%;
    background: #FF4B00;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
}

    /* Outer circle */
    .register-left::before {
        content: '';
        position: absolute;
        width: 480px;
        height: 480px;
        border-radius: 50%;
        /* Figma Linear Gradient: White 100% to White 0% */
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 100%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -42%);
        z-index: 0;
    }

    /* Inner circle */
    .register-left::after {
        content: '';
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        /* Figma Linear Gradient: White 100% to White 0% with 15% overall opacity */
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -38%);
        z-index: 1;
    }

.register-left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.register-left-title {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.register-left-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 138px;
    line-height: 1.5;
}

/* Dashboard mockup image */
.register-mockup {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

    .register-mockup img {
        width: 100%;
        height: auto;
        margin-left:40px;
        object-fit: contain;
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
    }

/* ══════════════════════════════
   RIGHT PANEL — White Form
══════════════════════════════ */
.register-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 64px;
    overflow-y: auto;
}

/* Logo + brand */
.register-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
}

.register-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
}

.register-brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Form */
.register-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

    .form-label span.required {
        color: #FF4B00;
    }

.form-input {
    width: 100%;
    height: 52px;
    background: #F5F5F5;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #333333;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}

    .form-input::placeholder {
        color: #aaaaaa;
    }

    .form-input:focus {
        border-color: #FF4B00;
        background: #ffffff;
    }

/* Phone input with prefix */
.phone-input-wrap {
    display: flex;
    height: 52px;
    background: #F5F5F5;
    border: 1.5px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

    .phone-input-wrap:focus-within {
        border-color: #FF4B00;
        background: #ffffff;
    }

.phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    border-right: 1.5px solid #e0e0e0;
    background: #eeeeee;
    white-space: nowrap;
    flex-shrink: 0;
}

.phone-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-size: 14px;
    color: #333333;
    outline: none;
    font-family: inherit;
}

    .phone-input-wrap input::placeholder {
        color: #aaaaaa;
    }

/* Radio group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    padding: 4px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    user-select: none;
}

    .radio-label input[type="radio"] {
        display: none;
    }

.radio-custom {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #FF4B00;
}

    .radio-label input[type="radio"]:checked + .radio-custom::after {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #FF4B00;
    }

/* Submit button */
.register-btn {
    width: 100%;
    height: 56px;
    background: #FF4B00;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
    letter-spacing: 0.3px;
}

    .register-btn:hover {
        background: #e04200;
        transform: translateY(-1px);
    }

    .register-btn:active {
        transform: translateY(0);
    }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .register-page {
        flex-direction: column;
    }

    .register-left {
        flex: none;
        max-width: 100%;
        min-height: 300px;
        padding: 48px 32px;
    }

    .register-right {
        padding: 40px 32px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .register-right {
        padding: 32px 20px;
    }

    .register-left-title {
        font-size: 26px;
    }

    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
