﻿:root {
    --red: #FF3B5C;
    --red-600: #E11D48;
    --bg: #0E1014;
    --panel: #121827;
    --panel-2: #0F1420;
    --line: #2A2F3A;
    --text: #F2F5F7;
    --muted: #A7AEBB;
    --radius: 18px;
    --shadow: 0 24px 80px rgba(0,0,0,.45);
}

html, body {
    height: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 10% -10%, rgba(255,59,92,.12), transparent 60%), radial-gradient(900px 500px at 110% 10%, rgba(255,140,165,.10), transparent 60%), linear-gradient(180deg,#0B1018,#0E1014 40%, #0B1018 100%);
    color: var(--text);
    overflow-x: hidden;
}

.auth-wrap {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    position: relative;
}

.register-card {
    position: relative;
    z-index: 1;
    width: min(960px,94vw);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.card-body {
    padding: 34px;
}

@media (max-width: 520px) {
    .card-body {
        padding: 22px;
    }
}

/* Header */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, #ff9ab0, var(--red));
    box-shadow: 0 10px 24px rgba(255,59,92,.35);
}

.brand h1 {
    font-size: 1.7rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: .3px;
}

.subline {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 18px;
}

/* Inputs (ikonlu) */
label.form-label {
    font-weight: 800;
    letter-spacing: .2px;
}

.input-glass .input-group-text {
    background: #0F1420;
    color: #dfe6ef;
    border: 1px solid var(--line);
    border-right: 0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.input-glass .form-control {
    background: #0F1420;
    color: #fff;
    border: 1px solid var(--line);
    border-left: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: .7rem .9rem;
}

    .input-glass .form-control::placeholder {
        color: #8d96a7;
    }

    .input-glass .form-control:focus {
        border-color: var(--red);
        box-shadow: 0 0 0 .2rem rgba(255,59,92,.16);
    }

.text-danger {
    color: #ff8d9f !important;
    font-weight: 600;
}

/* Password toggles */
.pw-toggle {
    border: 1px solid var(--line);
    border-left: 0;
    background: #0F1420;
    color: #fff;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

    .pw-toggle:hover {
        background: #121a2a;
        border-color: #3b4454;
    }

/* Strength meter */
.strength {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.bar {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: #222939;
    border: 1px solid var(--line);
    overflow: hidden;
}

    .bar > span {
        display: block;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg,#ffb4c1,var(--red));
        transition: width .25s ease;
    }

.slabel {
    font-weight: 800;
    font-size: .86rem;
    color: var(--muted);
}

/* File input */
.form-control[type="file"] {
    padding: .5rem .9rem;
}

/* Buttons & links */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--red);
    --bs-btn-border-color: var(--red);
    --bs-btn-hover-bg: var(--red-600);
    --bs-btn-hover-border-color: var(--red-600);
    --bs-btn-focus-shadow-rgb: 255,59,92;
    font-weight: 900;
    letter-spacing: .2px;
    border-radius: 999px;
    padding: .65rem 1.1rem;
    box-shadow: 0 12px 30px rgba(255,59,92,.24);
}

.login-link {
    display: inline-block;
    margin-top: 10px;
    color: #dfe6ef;
    text-decoration: none;
    font-weight: 700
}

    .login-link:hover {
        color: #fff;
        text-decoration: underline;
    }

/* Alert */
.alert-danger {
    border-radius: 12px;
    border: 1px solid rgba(255,59,92,.35);
    background: linear-gradient(180deg, rgba(255,59,92,.15), rgba(255,59,92,.06));
    color: #ffdfe4;
}
