@import url("../style.d41d8cd98f00.css"); /* global shared styles */

/* === Required star === */
.required-star {
    color: #e53935;
    margin-left: 0.25rem;
    font-weight: bold;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* === Signup Section === */
.fab-signup-container {
    max-width: min(95%, 600px);
    margin: 6vh auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: #edf2ed;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    border-left: 0.4rem solid #00b248;
    font-family: 'Inter', sans-serif;
    transition: box-shadow 0.3s ease;
}
.fab-signup-container:hover {
    box-shadow: 0 0.4rem 1.2rem rgba(0, 128, 0, 0.1);
}

.fab-signup-container h1,
.fab-signup-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    background: linear-gradient(90deg, #009624, #1b5e20, #00b248);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 2px solid #c8e6c9;
    padding-bottom: 0.5rem;
}

/* === Info box === */
.fab-info-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f0fdf4;
    border-left: 0.3rem solid #4caf50;
    border-radius: 0.5rem;
}

.fab-info-title {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #2e7d32;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.fab-info-box h3 {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: #388e3c;
    margin: 0.5rem 0;
    padding: 0.2rem 0;
}

/* === Form Fields === */
.fab-signup-container .form-group {
    margin-bottom: 1.25rem;
}

.fab-signup-container label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
    color: #333;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.fab-signup-container input {
    width: 100%;
    padding: clamp(0.7rem, 2.5vw, 0.9rem) clamp(0.8rem, 3vw, 1rem);
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fab-signup-container input:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0.4rem rgba(46, 125, 50, 0.3);
    outline: none;
}

/* === Error Messages === */
.fab-signup-container .form-errors {
    background-color: #fdecea;
    border: 1px solid #e53935;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: #b71c1c;
    font-weight: 600;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    text-align: center;
}
.fab-signup-container p.error-text {
    text-align: left;
    color: #d32f2f;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    font-weight: 500;
    margin: 0.3rem 0;
    padding-left: 0.5rem;
}

/* === Submit Button === */
.fab-signup-container .btn-submit {
    width: 100%;
    padding: clamp(0.8rem, 3vw, 1rem);
    background: linear-gradient(135deg, #2e7d32, #00c853);
    color: #fff;
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 128, 0, 0.2);
    margin-top: 0.5rem;
}
.fab-signup-container .btn-submit:hover {
    background: linear-gradient(135deg, #1b5e20, #009624);
    transform: scale(1.03);
    box-shadow: 0 0.375rem 0.75rem rgba(0, 128, 0, 0.25);
}

/* === Responsive Tweaks === */
@media (max-width: 768px) {
    .fab-signup-container {
        margin: 4vh auto;
        padding: clamp(1.2rem, 5vw, 2rem);
    }
}
@media (max-width: 480px) {
    .fab-signup-container {
        padding: clamp(1rem, 6vw, 1.5rem);
    }
    .fab-signup-container h1,
    .fab-signup-container h2 {
        font-size: clamp(1.3rem, 6vw, 1.5rem);
    }
}
