/* ================================================
   MEMBERS PAGINA'S — LOGIN & ACCOUNT AANVRAGEN
   ================================================ */


/* ================================================
   HERO
   ================================================ */

.members-hero {
    background: linear-gradient(135deg, #2d0057 0%, #4a0080 40%, #7B2CBF 100%);
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.members-hero .stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.members-hero .star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: twinkle 3s infinite alternate;
}

.members-hero .star:nth-child(1) { top: 15%; left: 10%; animation-delay: 0.0s; }
.members-hero .star:nth-child(2) { top: 30%; left: 25%; animation-delay: 0.5s; }
.members-hero .star:nth-child(3) { top: 10%; left: 60%; animation-delay: 1.0s; }
.members-hero .star:nth-child(4) { top: 50%; left: 80%; animation-delay: 1.5s; }
.members-hero .star:nth-child(5) { top: 70%; left: 45%; animation-delay: 0.8s; }
.members-hero .star:nth-child(6) { top: 20%; left: 90%; animation-delay: 0.3s; }

@keyframes twinkle {
    from { opacity: 0.3; transform: scale(1);   }
    to   { opacity: 1;   transform: scale(1.5); }
}

.members-hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #fff;
    margin: 0 0 12px;
    position: relative;
}

.members-hero h1 .highlight {
    color: #f0abfc;
}

.members-hero p {
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0;
    position: relative;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    position: relative;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}


/* ================================================
   PAGINA-LAYOUT
   ================================================ */

.members-section {
    background: #f8f5ff;
    padding: 60px 20px 80px;
}

.members-container {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

/* Smallere variant voor de loginpagina */
.members-container--narrow {
    max-width: 760px;
}

@media (max-width: 700px) {
    .members-container {
        grid-template-columns: 1fr;
    }
}


/* ================================================
   INFO-KAART (linkerkolom)
   ================================================ */

.members-info {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(123, 44, 191, 0.10);
    border-top: 4px solid #7B2CBF;
}

.members-info h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #1f0040;
    margin: 0 0 20px;
}

.members-info p {
    font-family: 'Outfit', sans-serif;
    color: #555;
    line-height: 1.7;
    margin: 0 0 28px;
    font-size: 0.95rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #333;
}

.info-item .icon-wrap {
    width: 40px;
    height: 40px;
    background: #f3e8ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #7B2CBF;
    font-size: 1rem;
}

.info-item a {
    color: #7B2CBF;
    text-decoration: none;
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
}


/* ================================================
   FORMULIERKAART (rechterkolom)
   ================================================ */

.members-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(123, 44, 191, 0.10);
    border-top: 4px solid #7B2CBF;
}

.members-form-card h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #1f0040;
    margin: 0 0 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 7px;
}

.form-group label .required {
    color: #7B2CBF;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5d9f5;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #1f0040;
    background: #faf7ff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7B2CBF;
    box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.12);
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row            { grid-template-columns: 1fr; }
    .members-form-card   { padding: 28px 20px; }
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #7B2CBF, #9d4edd);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}


/* ================================================
   FLASH-MELDINGEN
   ================================================ */

.flash-success,
.flash-error {
    border-radius: 10px;
    padding: 14px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.flash-success {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #166534;
}

.flash-error {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    color: #991b1b;
}

.flash-error ul {
    margin: 0;
    padding-left: 16px;
}

.flash-error ul li {
    margin-bottom: 4px;
}

/* Enkelvoudige kolom layout (voor succespagina's) */
.members-container--single {
    max-width: 600px;
    margin: 0 auto;
}
