/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Floating Background Shapes */


.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: #ffffff;
    top: -80px;
    left: -80px;
}

.shape2 {
    width: 350px;
    height: 350px;
    background: #10b981;
    bottom: -100px;
    right: -80px;
}
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);

    /* FIX BUTTON NOT CLICKING */
    position: absolute;
    z-index: 9999; /* brings button to the top */
}

/* SIGNUP CARD */
.signup-container {
    width: 100%;
    max-width: 420px;
    z-index: 2;
}

.signup-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    padding: 40px 32px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease;
}

.signup-card h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
}

.subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 25px;
    font-size: 14px;
}

/* INPUT GROUP */
.input-group {
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.icon {
    margin-right: 10px;
    font-size: 18px;
}

.input-group input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    color: white;
    font-size: 15px;
}

::placeholder {
    color: rgba(255,255,255,0.8);
}

.toggle {
    cursor: pointer;
    font-size: 18px;
}

/* BUTTON */
.btn {
    width: 100%;
    background: #10b981;
    color: white;
    border: none;
    padding: 14px 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.2s;
}

.btn:hover {
    background: #0a8f68;
}

.btn.small {
    padding: 10px 0;
    font-size: 14px;
}

/* LOGIN TEXT */
.login-text {
    text-align: center;
    margin-top: 18px;
}

.login-text a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

/* SUCCESS POPUP */
.success-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}

.popup-box {
    background: white;
    padding: 30px 25px;
    border-radius: 14px;
    text-align: center;
    max-width: 320px;
}

.popup-box h3 {
    margin-bottom: 10px;
}

.popup-box p {
    margin-bottom: 20px;
    color: #555;
}

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 500px) {
    .signup-card { padding: 32px 24px; }
}
