﻿/* 1. Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* same gradient + pattern background as login */
    background: linear-gradient(135deg, rgba(34,193,195,0.8), rgba(253,187,45,0.8)), url('../images/BG.jpg') no-repeat center/cover;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
}

/* 2. Card container */
.register-wrapper {
    width: 90vw;
    max-width: 360px;
    padding: 5vw;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    text-align: center;
}

/* 3. Welcome headings */
.welcome {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    color: #ccff66;
    -webkit-text-stroke: 1px #006400;
    text-stroke: 1px #006400;
    text-shadow: 0 0 1px #006400, 0 0 3px #ccff66, 0 0 8px #99ff33, 0 0 16px #66ff00;
}

.subtitle {
    font-size: 7vw;
    font-weight: 700;
    margin-bottom: 6vw;
    text-align: center;
    color: #000;
}

/* 4. Inputs */
.input {
    width: 100%;
    padding: 4vw;
    margin-bottom: 3vw;
    border: none;
    border-radius: 999px;
    font-size: 4vw;
    color: #000;
    outline: none;
    transition: transform 0.2s;
}

    .input.name,
    .input.email,
    .input.password,
    .input.question {
        background: linear-gradient(90deg, #01D2F6, #37E679);
        box-shadow: 0 0 0 3px #fff;
    }

    .input::placeholder {
        color: rgba(#000);
    }

    .input:focus {
        transform: scale(1.02);
    }

/* label for security question */
.label {
    display: block;
    margin-bottom: 3vw;
    font-size: 4vw;
    color: #fff;
    text-align: left;
}

/* 5. Sign Up button */
.btn.register-btn {
    width: 100%;
    padding: 4vw;
    border: none;
    border-radius: 999px;
    font-size: 4vw;
    cursor: pointer;
    background: linear-gradient(90deg, #44D335, #9FF741);
    color: #000;
    transition: filter 0.2s;
}

    .btn.register-btn:hover {
        filter: brightness(1.1);
    }

/* 6. Desktop breakpoint */
@media (min-width: 768px) {
    .register-wrapper {
        width: 360px;
        padding: 2rem;
    }

    .welcome {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .label {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .input {
        padding: 0.85rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .btn.register-btn {
        padding: 0.9rem;
        font-size: 1.1rem;
    }
}
