/* ======================================================= */
/* REGISTRATION-STYLES.CSS: GEWRAPTE TIJDELIJKE STIJLEN */
/* (Deze stijlen worden alleen toegepast binnen .registration-wrapper) */
/* ======================================================= */

/* --- Layouts (Container & Tekst-Container) --- */

.registration-wrapper .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100dvh; 
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.registration-wrapper .tekst-container {
    position: relative;
    background: white;
    border-style: none none solid none;
    border-color: orangered;
    width: 100%;
    box-sizing: border-box;
    padding: 0 60px; 
    min-height: auto; 
    flex-grow: 0;
    align-items: center;
}

.registration-wrapper .button-wrapper {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    border-style: solid none none none;
    border-color: orangered;
    background-color: white;
}

.registration-wrapper .content {
    padding: 1.5rem 0;
}

/* --- Component Typografie --- */

.registration-wrapper h1 {
    font-family: Helvetica, sans-serif;
    font-size: 48px;
    letter-spacing: 8px;
    margin: 0;
}

.registration-wrapper h2 {
    font-style: italic; 
    margin: 30px 0;
}

.registration-wrapper h3 {
    margin-top: 6px;
    letter-spacing: 4px;
}

.registration-wrapper h5 {
    margin: 0;
    padding: 0 5px;
    font-weight: 100;
    color: grey;
}

.registration-wrapper h5 a {
    color: #444;
    text-decoration: none;
}

.registration-wrapper q.no-justify {
    display: block;
    padding: 15px 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    font-style: italic;
}

.registration-wrapper a {
    display: inline-block;
    text-decoration: none;
    color: orangered;
}

.registration-wrapper .tekst-container p {
    padding: 20px 0;
    line-height: 23px;
    text-align: justify;
}

/* --- Countdown --- */
.registration-wrapper #countdown {
    background-color: orangered;
    width: 100%;
    padding: 8px 0;
}

.registration-wrapper .countdown {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
    color: #f3f3f3;
}

.registration-wrapper .countdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: 0.2rem 120px;
    font-family: 'Orbitron', sans-serif;
}

.registration-wrapper .countdown-grid 
#countdown-text-days,
#countdown-text-hours,
#countdown-text-minutes,
#countdown-text-seconds {
    font-size: 12px;
    padding-top: 6px;
    font-weight: 300;
}

/* --- Logo & Knoppen --- */
.registration-wrapper .logo-container {
    display: block;
}

.registration-wrapper .logo-container img.vlag{
    height: auto;
    padding: 60px 0;
}

.registration-wrapper .tekst-container .signup-section {
    display: block;
}

.registration-wrapper .tekst-container .sign-up-button {
    text-decoration: none;
    color: white;
    background-color: orangered;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.registration-wrapper .tekst-container .sign-up-button:hover, .registration-wrapper .sign-up-form button:hover, .registration-wrapper .button-wrapper button:hover, .registration-wrapper .sign-up-form button:hover {
    background-color: #ff541b;
}

/* --- Formulier / Grid Stijlen --- */
.registration-wrapper .container .home-button {
    display: flex;
    margin: 0;
    padding: 8px;
    background-color: orangered;
    color: white;
    border-radius: 0;
    border-style: none;
    cursor: pointer;
    transition: ease 0.3s;
}

.registration-wrapper .grid-container {
    margin: 50px 0 0 0;
    display: grid;
    grid-template-columns: 60% 1px auto;
}

.registration-wrapper .grid-container.is-success {
    display: flex;
    align-items: center;
}

.registration-wrapper .success-message {
    text-align: left;
    margin: auto;
    margin-bottom: 15px;
}

.registration-wrapper .success-message h2 {
    font-style: normal;
    color: green;
}

.registration-wrapper .success-message a {
    text-decoration: none;
    font-weight: 600;
}

.registration-wrapper .sign-up-form {
    text-align: left;
    padding: 18px;
}

/* --- Tooltips (verkort) --- */
.registration-wrapper .tooltip {
    cursor: pointer;
}

.registration-wrapper .tooltiptext {
    visibility: hidden;
    font-size: 12px;
    width: 220px;
    background-color: #eeeeee;
    color:#666;
    border-radius: 3px;
    padding: 0 5px;
    margin: 0 2px;
    position: absolute;
    z-index: 1; 
}

.registration-wrapper .tooltip:hover .tooltiptext {
    visibility: visible;
}

.registration-wrapper .sign-up-form span i::after{
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; 
    margin-top: -5px;
    border-width: 5px;
}

/* --- Formulier Inputs & Labels (verkort) --- */
.registration-wrapper .sign-up-form .row-flex {
    display: flex;
    justify-content: space-between;
}

.registration-wrapper .sign-up-form .row-align {
    width: calc((100% - 20px) / 2);
}

.registration-wrapper .sign-up-form label.label {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #555;
    display: block;
    margin: 0 0 2px 4px;
}

.registration-wrapper .label .material-icons{
    font-size: 14px;
}

.registration-wrapper .sign-up-form input {
    width: 100%;
    font-size: 15px;
    background-color: #FAFAFA;
    /* ... (rest van de input stijlen) ... */
    border: 1px solid #F1F1F1;
    border-radius: 3px;
    box-sizing: border-box;
    display: block;
    padding: 14px;
    margin: 0 0 15px 0;
    box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.05);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    color: #666;
}

.registration-wrapper .sign-up-form input:focus{
    outline: none;
    background-color: #f0f0f0;
}

.registration-wrapper .sign-up-form button {
    display: flex;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background-color: #f4511e;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin: 30px auto auto;
    cursor: pointer;
}

.registration-wrapper .devider {
    margin: 24px 0;
    width: 1px;
    background: #dddddd;
}

/* --- Login / Social (verkort) --- */
.registration-wrapper .optional-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.registration-wrapper .optional-login p {
    margin-top: 20px;
    font-size: 14px;
    color: #666666;
    text-align: justify;
    line-height: 16px;
}

.registration-wrapper .social-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.registration-wrapper .social-buttons .social-button {
    display: flex;
    align-items: center;
    min-width: 240px;
    height: 48px;
    padding-left: 4%;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 16px;
    box-sizing: border-box;
}

.registration-wrapper .container .social-buttons button {
    border-radius: 5px;
    transition: ease 0.3s;
}

.registration-wrapper .social-buttons :hover {
    filter: brightness(95%);
}

.registration-wrapper .social-buttons .social-button.form {
    display: none;
}

.registration-wrapper .social-buttons .social-button.google {
    border: 1px solid #e1e1e1;
    background-color: white;
    color: RGB(85, 108, 111);
}

.registration-wrapper .social-buttons .social-button.facebook {
    border: none;
    background-color: RGB(48,78,150);
    color: white;
}

.registration-wrapper .social-buttons i {
    font-size: 24px;
}

.registration-wrapper .social-buttons span {
    padding-left: 1rem;
}

.registration-wrapper .sign-up-form .password-message {
    display: none;
}

/* --- Overige (verkort) --- */
.registration-wrapper .logged-in-message p {
    padding: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: green;
}

.registration-wrapper .logged-in-message span {
    color: black;
}

.registration-wrapper .developer-logout-button {
    display: flex;
    position: absolute;
    right: 5%;
    width: 100px;
    padding: 10px;
    background-color: #f3f3f3;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
}

.registration-wrapper .developer-logout-button:hover {
    cursor: pointer;
}

.registration-wrapper .policy {
    display: flex;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem; 
    width: 100%;
    justify-content: center;
    align-items: flex-end;
}

/* ======================================================= */
/* MEDIA QUERY (Mobiel/Tablet Maximaal 767px) */
/* ======================================================= */

@media (max-width: 767px) { 

    .registration-wrapper .container {
        justify-content: start;
    }
    
    /* --- Typografie Scaling --- */
    .registration-wrapper h1, .registration-wrapper .tekst-container h1 {
        font-size: 30px;
        letter-spacing: 4px;
    }
    
    .registration-wrapper h5, .registration-wrapper .tekst-container p, .registration-wrapper .tekst-container h5 {
        line-height: 1.4rem;
    }

    .registration-wrapper .optional-login p {
        padding: 0;
    }

    /* --- Countdown Scaling --- */
    .registration-wrapper .countdown {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .registration-wrapper .countdown-grid {
        margin: 0.2rem 10px; 
    }

    .registration-wrapper .countdown-grid 
    #countdown-text-days,
    #countdown-text-hours,
    #countdown-text-minutes,
    #countdown-text-seconds {
        font-size: 10px;
        padding-top: 4px;
    }

    /* --- Layout Aanpassingen --- */
    .registration-wrapper .tekst-container {
        display: flex;
        flex-grow: 1;
        padding: 0 7%; 
        flex-direction: column;
    }

    .registration-wrapper .container .home-button {
        padding: auto;
    }
    
    .registration-wrapper .logo-container img.vlag {
        padding: 0;
        height: 90px;
        object-fit: contain;
    }
    
    .registration-wrapper .logo-container {
        padding: 40px 0;
    }
    
    .registration-wrapper .social-buttons .social-button.form {
        display: flex; 
        background-color: rgb(175, 21, 33);
        color: white;
    }

    .registration-wrapper .grid-container{
        display: flex; 
        flex-direction: column; 
        margin: auto;
    }

    .registration-wrapper .tooltiptext {
        padding: 5px;
        margin-right: 20px;
        width: auto;
        text-align: left;
        position: absolute;
        z-index: 1; 
    }

    .registration-wrapper .tooltip.active-tooltip .tooltiptext {
        visibility: visible;
    }

    .registration-wrapper .label .material-icons{
        font-size: 1.3rem;
        vertical-align: middle;
    }
    
    .registration-wrapper .devider {
        display: none;
    }

    .registration-wrapper .sign-up-form {
        display: none;
        padding: 15px 5%;
    }

    .registration-wrapper .sign-up-form .row-flex {
        display: block;
    }

    .registration-wrapper .sign-up-form .row-align {
        width: 100%;
    }

    .registration-wrapper .sign-up-form input {
        font-size: 15px;
    }
    
    .registration-wrapper .sign-up-form button {
        width: 100%;
        justify-content: center;
    }
    
    .registration-wrapper .optional-login {
        padding: 20px 5%;   
    }

    .registration-wrapper .social-buttons .social-button.form {
        display: flex;
        background-color: rgb(175, 21, 33);
        color: white;
        border: none;
    }

    .registration-wrapper .social-buttons {
        width: 100%;
    }

    .registration-wrapper .policy {
        flex-grow: 1;
        margin: auto;
    }

}