.header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.user-welcome-content {
    display: flex;
    align-items: center;
    padding: 24px !important;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    background: linear-gradient(to right, rgba(47, 113, 184, 0.03), rgba(76, 175, 80, 0.03));
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.login-forms-container {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.login-forms-container form {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(47, 113, 184, 0.08);
}

.login-forms-container .form-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.login-forms-container .form-row label {
    font-size: 0.9em;
    color: #2f71b8;
    font-weight: 500;
    white-space: nowrap;
}

.login-forms-container .form-row input {
    flex: 1;
    width: 100%;
    height: 42px;
    padding: 8px 16px;
    border: 2px solid #e6eef7;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.login-forms-container .form-row input:focus {
    border-color: #2f71b8;
    box-shadow: 0 0 0 3px rgba(47, 113, 184, 0.1);
    outline: none;
}

.login-forms-container .btn {
    height: 42px;
    padding: 0 24px;
    background: linear-gradient(135deg, #2f71b8, #245a94);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-forms-container .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 113, 184, 0.2);
}

.login-forms-container .form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 16px;
    padding: 0 24px;
}

.login-forms-container .register-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4CAF50, #3AAA35);
    color: white !important;
    padding: 0 24px;
    height: 42px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-forms-container .register-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(58, 170, 53, 0.2);
}

.login-forms-container .forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.login-forms-container .forgot-link:hover {
    color: #2f71b8;
    background: rgba(47, 113, 184, 0.05);
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#resetForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

#resetForm .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#resetForm .form-row label {
    font-size: 0.9em;
    color: #555;
    font-weight: 500;
}

#resetForm .form-row input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#resetForm .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

#resetForm .btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    justify-content: center;
}

#resetForm .btn-secondary {
    background: #f0f0f0;
    border: none;
    color: #666;
}

#resetForm .btn-primary {
    background: #2f71b8;
    border: none;
    color: white;
}

.modal-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 15px 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header h3 i {
    color: #2f71b8;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 0;
}

.modal-description {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.modal-body .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.modal-body .form-row label {
    font-size: 0.9em;
    color: #555;
    font-weight: 500;
}

.modal-body .form-row input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-body .form-row input:focus {
    border-color: #2f71b8;
    box-shadow: 0 0 0 3px rgba(47, 113, 184, 0.1);
    outline: none;
}

.modal-body .form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.modal-body .btn {
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.modal-body .btn i {
    font-size: 0.9em;
}

.modal-body .btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.modal-body .btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

.modal-body .btn-primary {
    background: #2f71b8;
    color: white;
}

.modal-body .btn-primary:hover {
    background: #245a94;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .login-forms-container form {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-forms-container .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .login-forms-container .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .login-forms-container .register-link,
    .login-forms-container .forgot-link {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
}