* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f7f7f7;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ========= BACKGROUND CIRCLES ========= */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(100, 170, 240, 0.15);
}

.c1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -120px;
}

.c2 {
    width: 400px;
    height: 400px;
    bottom: -120px;
    right: -120px;
}

.c3 {
    width: 120px;
    height: 120px;
    top: 50px;
    right: 150px;
}

.c4 {
    width: 370px;
    height: 370px;
    top: 320px;
    right: 650px;
}

.c5 {
    width: 200px;
    height: 200px;
    top: 60px;
    right: 200px;
}

.c6 {
    width: 200px;
    height: 200px;
    top: 450px;
    right: 1300px;
}

/* ========= BRAND ========= */
.brand {
    position: absolute;
    top: 90px;
    left: 90px;
}

.brand img {
    width: 100px;
}

.brand h2 {
    color: #0080d7;
    font-style: italic;
}

.brand p {
    font-size: 14px;
}

/* ========= GLASS CARD ========= */
.glass-register {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    padding: 55px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    outline: 1px solid rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.18),
        inset 0 0 25px rgba(255, 255, 255, 0.12);
    z-index: 30;
    overflow: hidden;
}

/* ========= TEXT ========= */
.glass-register h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 13px;
    margin-bottom: 8px;
    color: #555;
}

.step {
    font-size: 13px;
}

.section {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
}

.error-msg {
    color: red;
    margin-bottom: 10px;
}

/* ========= FORM ========= */
.register-form {
    width: 100%;
}

.register-form .input-group {
    margin-bottom: 12px;
}

.register-form input {
    width: 100%;
    height: 48px;
    border: 2px solid #d1d5db;
    border-radius: 25px;
    padding: 0 18px;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.register-form input:focus {
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.35);
}

.register-form input:not(:placeholder-shown) {
    border-color: #2563eb;
}

/* ========= BOTTOM ========= */
.bottom-row {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-row p {
    font-size: 14px;
}

.bottom-row a {
    color: #0b4eff;
    text-decoration: none;
    font-weight: 600;
}

.next-btn {
    background: #031a8d;
    color: white;
    border: none;
    padding: 10px 35px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Password input wrapper styling */
.password-group {
    position: relative;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 40px;
    /* Space for the eye icon button */
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.password-toggle-btn:hover {
    color: #333;
}

.password-toggle-btn .material-icons {
    font-size: 20px;
    user-select: none;
}