* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: #f5f7fb;
    color: #1e293b;
    min-height: 100vh;
}

/* CONTAINER */
.register-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 45px 20px;
}

/* CARD */
.register-card {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 38px 42px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

/* HEADER */
.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.register-header .logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2563eb;
    color: white;
    border-radius: 14px;

    font-size: 22px;
    font-weight: 700;
}

.register-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.register-header p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* SECTION */
.form-section {
    margin-bottom: 28px;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    font-weight: 700;
    color: #0f172a;

    margin-bottom: 18px;
    padding-bottom: 11px;

    border-bottom: 1px solid #e8edf5;
}

.form-section-title span {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eff6ff;
    color: #2563eb;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full {
    grid-column: 1 / -1;
}

/* LABEL */
.form-group label {
    display: block;
    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

/* INPUT */
.form-group input,
.form-group textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #dbe2ea;
    border-radius: 9px;

    background: #ffffff;

    font-family: inherit;
    font-size: 14px;
    color: #1e293b;

    outline: none;

    transition: all 0.2s ease;
}

.form-group input {
    height: 44px;
}

.form-group textarea {
    min-height: 95px;
    resize: vertical;
}

/* INPUT FOCUS */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

/* PLACEHOLDER */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

/* PASSWORD INFO */
.password-info {
    margin-top: 7px;
    font-size: 12px;
    color: #64748b;
}

/* BUTTON */
.btn-register {
    width: 100%;
    height: 46px;

    border: none;
    border-radius: 9px;

    background: #2563eb;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.btn-register:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.20);
}

.btn-register:active {
    transform: translateY(0);
}

/* ALERT */
.alert {
    background: #fef2f2;
    color: #b91c1c;

    border: 1px solid #fecaca;
    border-radius: 9px;

    padding: 12px 14px;
    margin-bottom: 22px;

    font-size: 13px;
}

/* SUCCESS */
.success {
    background: #f0fdf4;
    color: #15803d;

    border: 1px solid #bbf7d0;
    border-radius: 9px;

    padding: 12px 14px;
    margin-bottom: 22px;

    font-size: 13px;
}

/* LOGIN LINK */
.login-link {
    text-align: center;
    margin-top: 22px;

    font-size: 13px;
    color: #64748b;
}

.login-link a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* FOOTER */
.register-footer {
    text-align: center;
    margin-top: 22px;

    font-size: 12px;
    color: #94a3b8;
}

/* MOBILE */
@media (max-width: 650px) {

    .register-container {
        padding: 20px 14px;
    }

    .register-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .register-header h2 {
        font-size: 23px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }
}

/* =========================
   REFERRAL ASOSIATOR
========================= */

.referral-box {
    margin: 0 0 24px;
    padding: 15px 17px;

    background: #eef2ff;
    border: 1px solid #c7d2fe;

    border-radius: 10px;
}

.referral-title {
    margin-bottom: 5px;

    color: #6366f1;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.referral-box strong {
    display: block;

    margin-bottom: 4px;

    color: #1e1b4b;

    font-size: 14px;
}

.referral-box span {
    color: #4f46e5;

    font-size: 12px;
    font-weight: 600;
}