@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Quicksand:wght@500;600;700&family=Comic+Neue:wght@700&display=swap');

:root {
    --bg-pink: #FFC0CB;
    --soft-pink: #FFE1E8;
    --bg-cream: #FFF8F0;
    --text-dark: #3E2723;
    --matcha: #8FA96B;
    --matcha-light: #C1E1C1;
    --strawberry: #D65A68;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
}

.signup-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

.left-panel {
    flex: 1;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 192, 203, 0.25), transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(193, 225, 193, 0.35), transparent 25%),
        var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.left-content {
    text-align: center;
    max-width: 650px;
}

.logo-img {
    width: 90%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
}

.tagline {
    margin-top: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6A4A3C;
}

.feature-row {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-row span {
    background-color: rgba(255, 255, 255, 0.75);
    border: 2px solid rgba(255, 192, 203, 0.7);
    border-radius: 999px;
    padding: 10px 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 6px 15px rgba(62, 39, 35, 0.06);
}

.right-panel {
    flex: 1;
    background:
        radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.35), transparent 20%),
        radial-gradient(circle at 12% 90%, rgba(193, 225, 193, 0.35), transparent 22%),
        var(--bg-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
    position: relative;
}

.signup-card {
    width: 100%;
    max-width: 560px;
    background-color: rgba(255, 248, 240, 0.95);
    border: 3px solid rgba(255, 255, 255, 0.75);
    border-radius: 36px;
    padding: 36px;
    box-shadow: 0 18px 40px rgba(62, 39, 35, 0.16);
    position: relative;
}

h2 {
    margin: 0;
    text-align: center;
    font-family: 'Comic Neue', cursive;
    font-size: 2.8rem;
    color: var(--text-dark);
}

.signup-subtitle {
    margin: 8px 0 18px;
    text-align: center;
    font-size: 0.95rem;
    color: #7A5A4C;
}

.role-note {
    background-color: rgba(193, 225, 193, 0.35);
    border: 2px dashed rgba(143, 169, 107, 0.75);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #5d463c;
    line-height: 1.5;
}

.role-note strong {
    color: var(--text-dark);
}

form {
    width: 100%;
}

.input-wrapper {
    margin-bottom: 14px;
}

/* Hide default browser password reveal icon */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-textfield-decoration-container {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.input-wrapper label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid transparent;
    border-radius: 999px;
    background-color: #FFFFFF;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    outline: none;
    box-shadow: 0 6px 14px rgba(62, 39, 35, 0.06);
    transition: all 0.25s ease;
}

.input-field:focus {
    border-color: var(--matcha);
    box-shadow: 0 8px 18px rgba(143, 169, 107, 0.18);
}

.password-group {
    position: relative;
}

.password-group .input-field {
    padding-right: 78px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 41px;
    border: none;
    background: transparent;
    color: var(--strawberry);
    font-weight: 700;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
}

.helper-box {
    margin-top: 8px;
    font-size: 0.82rem;
}

.strength-bar-wrap {
    width: 100%;
    height: 8px;
    background: #f1e4e8;
    border-radius: 999px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.match-msg,
.strength-msg {
    margin-top: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.error-msg {
    background-color: #FFE1E8;
    border: 1px solid rgba(214, 90, 104, 0.35);
    color: #B83245;
    border-radius: 18px;
    padding: 10px 14px;
    margin: 12px 0;
    font-size: 0.86rem;
    text-align: center;
}

.success-msg {
    background-color: #E8F6E8;
    border: 1px solid rgba(143, 169, 107, 0.4);
    color: #43613a;
    border-radius: 18px;
    padding: 10px 14px;
    margin: 12px 0;
    font-size: 0.86rem;
    text-align: center;
}

.login-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: 1.8px solid var(--text-dark);
    border-radius: 999px;
    background-color: var(--matcha-light);
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 800;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.login-btn:hover {
    background-color: #A8D5A8;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(62, 39, 35, 0.12);
}

.login-link {
    margin: 18px 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6A4A3C;
}

.login-link a {
    color: var(--strawberry);
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}


@media (max-width: 900px) {
    .signup-container {
        flex-direction: column;
    }

    .left-panel {
        padding: 35px 20px 20px;
    }

    .right-panel {
        padding: 20px 20px 40px;
    }

    .logo-img {
        max-width: 260px;
        width: 80%;
    }

    .tagline {
        font-size: 0.9rem;
        margin-top: 5px;
    }

    .feature-row {
        margin-top: 16px;
        gap: 8px;
    }

    .feature-row span {
        font-size: 0.75rem;
        padding: 7px 11px;
    }

    .signup-card {
        max-width: 520px;
        padding: 28px 22px;
        border-radius: 28px;
    }

    h2 {
        font-size: 2.3rem;
    }

    .signup-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 520px) {
    .input-wrapper label {
        font-size: 0.85rem;
    }

    .input-field {
        padding: 13px 16px;
        font-size: 0.85rem;
    }

    .toggle-password {
        top: 38px;
        font-size: 0.82rem;
    }

    .login-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}