/* /assets/css/style.css - Temporary Signup Style */

body {
    background: #f7fafc;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(70,90,120,0.09), 0 1.5px 3px rgba(120,160,200,0.06);
    padding: 2.2rem 2rem 2.5rem 2rem;
    max-width: 400px;
    width: 95vw;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
}

h2 {
    text-align: center;
    font-size: 1.45rem;
    color: #204080;
    margin-bottom: 1.2rem;
}

form label {
    font-weight: 500;
    margin-top: 1rem;
    display: block;
    color: #355;
}

input[type=text], input[type=email], input[type=password] {
    width: 100%;
    padding: 11px 10px;
    margin-top: 7px;
    margin-bottom: 13px;
    border: 1px solid #d1d9e0;
    border-radius: 7px;
    font-size: 1rem;
    background: #f9f9fc;
    transition: border-color 0.2s;
}

input[type=text]:focus, input[type=email]:focus, input[type=password]:focus {
    border-color: #4075f7;
    outline: none;
}

button[type=submit] {
    width: 100%;
    background: #3767d1;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.09rem;
    margin-top: 18px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(60,100,190,0.07);
    transition: background 0.15s;
}
button[type=submit]:hover {
    background: #244fa8;
}

.error {
    color: #c90040;
    font-size: 0.99em;
    margin-bottom: 6px;
    margin-top: -7px;
}

.success {
    color: #137f4f;
    background: #d9ffe4;
    border-radius: 7px;
    padding: 14px 10px;
    font-size: 1.1em;
    margin-bottom: 1.2em;
    text-align: center;
}

.referrer-box {
    background: #eaf2fd;
    border-radius: 6px;
    padding: 9px 8px;
    font-size: .99em;
    color: #357;
    margin-bottom: 13px;
    margin-top: -6px;
}

.strength-meter {
    height: 6px;
    border-radius: 3px;
    background: #e3e3ea;
    margin-bottom: 14px;
    margin-top: -8px;
    transition: background 0.25s;
}
.strength-meter[data-strength="1"] { background: #ffb97b; }
.strength-meter[data-strength="2"] { background: #ffe564; }
.strength-meter[data-strength="3"] { background: #7bff7c; }

.toggle-password {
    margin-left: -30px;
    color: #888;
    font-size: 1.25em;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 600px) {
    .signup-box {
        padding: 1.1rem 0.5rem 2rem 0.5rem;
        max-width: 97vw;
    }
}

/* assets/css/style.css */

/* Base style for the strength meter */
.strength-meter {
    height: 8px; /* Height of the meter bar */
    background-color: #ddd; /* Default background color (empty state) */
    margin-top: 5px;
    border-radius: 4px;
    overflow: hidden; /* Ensures any inner fill stays within rounded corners */
    font-size: 0.8em; /* Smaller font for feedback text */
    color: #666; /* Default text color */
    padding: 2px 5px; /* Padding for the text feedback */
    text-align: center;
    min-height: 20px; /* Ensure enough height for the text */
    /* Smooth transitions for visual changes */
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Styles for different strength levels (0-5) */

/* Strength 0: No input / Very Weak */
.strength-meter[data-strength="0"] {
    width: 0%; /* Meter is empty */
    background-color: #ddd;
    color: #888;
}

/* Strength 1: Weak */
.strength-meter[data-strength="1"] {
    width: 20%;
    background-color: #ffcccc; /* Light red */
    color: #c00; /* Darker red */
}

/* Strength 2: Fair */
.strength-meter[data-strength="2"] {
    width: 40%;
    background-color: #ffad80; /* Orange-red */
    color: #e65c00; /* Darker orange */
}

/* Strength 3: Good */
.strength-meter[data-strength="3"] {
    width: 60%;
    background-color: #ffe080; /* Yellow-orange */
    color: #e6b800; /* Darker yellow */
}

/* Strength 4: Strong */
.strength-meter[data-strength="4"] {
    width: 80%;
    background-color: #ccffcc; /* Light green */
    color: #009900; /* Darker green */
}

/* Strength 5: Very Strong (all criteria met) */
.strength-meter[data-strength="5"] {
    width: 100%;
    background-color: #99ff99; /* Brighter green */
    color: #006600; /* Even darker green */
}

/* Optional: Basic styling for error messages */
.error {
    color: #d9534f; /* A standard error red */
    font-size: 0.9em;
    margin-top: 5px;
    margin-bottom: 5px;
}
