body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f8f8f8;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: #fff;
    overflow-x: hidden;
}

.welcome-section {
    background: #A6E6A1;
    width: 100%;
    text-align: center;
    padding: 40px 20px 48px 20px;
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    width: 120px;
    margin-bottom: 24px;
    animation: fadeInScale 1s ease-out 0.3s backwards;
}

@keyframes fadeInScale {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.welcome-section h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.welcome-section p {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 22px;
    margin-top: 0;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.login-btn {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 14px;
    padding: 12px 44px;
    font-size: 1.15rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 0;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out 0.9s backwards;
}

.register-section {
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
    background: none;
    padding: 24px 20px 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.25s ease-out 0.15s backwards;
}

.register-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

form {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-row {
    display: block;
    width: 100%;
}

.form-row .input-group {
    flex: none;
    margin-bottom: 16px;
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 14px;
    width: 100%;
}

.input-group.full-width {
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: none;
    border-radius: 18px;
    background: #E6E6E6;
    font-size: 1.05rem;
    outline: none;
    color: #444;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    box-sizing: border-box;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.input-group input:focus {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 230, 161, 0.3);
}

.input-group input::placeholder {
    color: #999;
}

.input-group .icon {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #888;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Bounce animatie voor icons */
.input-group .icon.spin {
    animation: bounceIcon 0.5s ease-in-out;
    color: #A6E6A1;
}

@keyframes bounceIcon {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateY(-70%) scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        opacity: 1;
    }
    75% {
        transform: translateY(-55%) scale(0.95);
    }
    100% {
        transform: translateY(-50%) scale(1.1);
    }
}

.register-submit-btn {
    width: 100%;
    background: #A6E6A1;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 16px 0;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(166, 230, 161, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-submit-btn:hover {
    background: #8fd88a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 230, 161, 0.5);
}

.register-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(166, 230, 161, 0.4);
}

@media (min-width: 900px) {
    .container {
        flex-direction: row;
        align-items: stretch;
        min-height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    .register-section {
        flex: 1 1 0;
        max-width: 50vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        background: #fff;
        padding: 0;
        order: 1;
        box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    }

    .welcome-section {
        flex: 1 1 0;
        width: 50vw;
        max-width: 50vw;
        min-width: 400px;
        border-radius: 60% 0 0 60% / 100% 0 0 100%;
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 0 0 0;
        order: 2;
        box-shadow: -5px 0 30px rgba(166, 230, 161, 0.3);
        animation: slideFromRight 0.8s ease-out;
    }

    @keyframes slideFromRight {
        0% {
            transform: translateX(100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    form {
        max-width: 450px;
    }

    .form-row {
        display: flex;
        gap: 12px;
        width: 100%;
        margin-bottom: 14px;
    }

    .form-row .input-group {
        flex: 1;
        margin-bottom: 0;
    }

    .register-section h2 {
        font-size: 2.3rem;
        margin-bottom: 28px;
    }

    .input-group input {
        padding: 18px 56px 18px 22px;
        font-size: 1.1rem;
    }

    .input-group {
        margin-bottom: 16px;
    }

    .register-submit-btn {
        padding: 18px 0;
        font-size: 1.35rem;
        margin-top: 10px;
    }
}
