/* ============================================
   REGISTER PAGE — PREMIUM SCREENSOLES-STYLE UI
   ============================================ */

:root {
    --bg: #0b0b0b;
    --card-bg: #111;
    --border: #222;
    --text: #eee;
    --muted: #999;
    --accent: #0a84ff;
    --radius: 14px;
    --shadow: 0 12px 40px rgba(0,0,0,0.45);
}

body {
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, Roboto, sans-serif;
}

/* Page Layout — Left summary / Right form */
.register-container {
    max-width: 1080px;
    margin: 50px auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.register-left,
.register-right {
    background: rgba(20,20,20,0.9);
    border-radius: var(--radius);
    padding: 28px 32px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow);
}

/* LEFT SIDE = Order Summary box */
.register-left {
    flex: 0.9;
}

.summary-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.summary-plan {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 14px;
    margin-top: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
	color:var(--muted);
	font-size: 0.85rem;
}

.summary-row strong {
    font-size: 1rem;
	color: var(--text);
}

/* RIGHT SIDE = Signup Form */
.register-right {
    flex: 1.4;
}

.register-right h1 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Form style */
.register-form label {
    display: flex;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.register-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0d0d0d;
    color: var(--text);
    margin-bottom: 16px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.18s ease, background 0.18s ease;
}

.register-form input:focus {
    border-color: var(--accent);
    background: #151515;
}

/* Custom Checkbox */
/* -------------------------
   OPT-IN CHECKBOXES (FIXED)
   ------------------------- */

.optin-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    cursor: pointer;
    user-select: none;
    line-height: 1; /* prevents baseline weirdness */
    position: relative;
}

/* Hide the real checkbox */

.optin-wrap input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 0;
    height: 0;
}

/* The custom box */

.optin-box {
    width: 18px;
    height: 18px;
    border: 2px solid var(--muted);
    border-radius: 4px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

/* Blue fill when checked */

.optin-wrap input[type="checkbox"]:checked + .optin-box {
    background: var(--accent);
    border-color: var(--accent);
}

/* Checkmark inside the box */

.optin-box::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

/* Show checkmark when checked */

.optin-wrap input[type="checkbox"]:checked + .optin-box::after {
    transform: rotate(-45deg) scale(1);
}

/* Label text */

.optin-text {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 1px; /* micro-align visually */
}


/* Button */
.register-submit {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 999px;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.register-submit:hover {
    background: #006fe0;
}

/* Bottom link */
.register-login {
    margin-top: 16px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--muted);
}

.register-login a {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
    .register-container {
        flex-direction: column;
    }
}
